[CMake] FindQt4.cmake w7

Andreas Pakulat apaku at gmx.de
Wed Nov 18 17:52:26 EST 2009


On 18.11.09 13:21:03, Leon Moctezuma wrote:
> Hi I just installed Windows 7, Qt 4.5.3 and CMake 2.8.0,
> I added C:\Qt\4.5.3\qmake to the Path, it finds qmake
> without problemas, but I get the following error:
> 
> CMake Error at C:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/FindQt4.cmake:673 (MESSAGE):
> Could NOT find QtCore header
> 
> What is going wrong? It used to work without problems on Win XP with CMake
> 2.6.1 and Qt 4.4.3...
> I also read somewhere that CMake does *not* use the QTDIR environment
> variable, so how does
> CMake locates the include, lib and bin directories?...

It asks qmake, qmake knows where Qt was installed to. So make sure you
don't move Qt around once you've installed it into a directory.

Andreas

-- 
You'll feel much better once you've given up hope.


More information about the CMake mailing list