[CMake] CMake is unable to find QtCore!
John Drescher
drescherjm at gmail.com
Sun Aug 12 10:34:53 EDT 2012
On Sun, Aug 12, 2012 at 10:33 AM, John Drescher <drescherjm at gmail.com> wrote:
> On Sun, Aug 12, 2012 at 10:30 AM, Toronto Andrew
> <andrew.louis93 at gmail.com> wrote:
>> I get the following errors when trying to build my Qt project:
>>
>> CMake Error at C:/Program Files (x86)/CMake
>> 2.8/share/cmake-2.8/Modules/FindQt4.cmake:595 (MESSAGE):
>> Could NOT find QtCore. Check
>>
>> And I need to manually point the CMake gui in the direction of qmake.exe;
>> additionally, I receive these flags: QT_QTCORE_LIBRARY_DEBUG-NOTFOUND,
>> QT_QTCORE_LIBRARY_RELEASE-NOTFOUND and QT_MKSPECS_DIR-NOTFOUND, and I am
>> unsure about how to get FindQt4.cmake to work properly.
>>
>> Thanks in advance!
>>
>
> Did you point cmake-gui to the location of qmake?
Are all the Qt dlls in the same folder as qmake.exe? This should be
the bin folder inside of the Qt build.
--
John M. Drescher
More information about the CMake
mailing list