[CMake] Windows Qt CMake 2.8 build question

Tyler Roscoe tyler at cryptio.net
Thu Nov 12 12:57:46 EST 2009


On Thu, Nov 12, 2009 at 10:51:49AM -0700, Steven Wilson wrote:
> 
> CMake Error at C:/Program Files (x86)/CMake
> 2.8/share/cmake-2.8/Modules/FindQt4.cmake:771 (MESSAGE):
>   It appears you're trying to use Visual Studio with Qt built by mingw
> Call Stack (most recent call first):
>   Source/QtDialog/CMakeLists.txt:14 (FIND_PACKAGE)

The distributed version of Qt is built with mingw (which CMake told
you). You need to rebuild it with the Visual Studio version of your
choice. Check the Qt docs for details on rebuilding. 

tyler


More information about the CMake mailing list