Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
CMake Error: Could NOT find QtCore.
i'm getting this error last time i fixed it but i don't remember what i did. i know it is more related to a cmake problem, than to a qt problem. if you have then answer please post. thank you.
i'm running windows xp. qt 4.4.0. CMake 2.4.8
This post has been edited 1 times, last edit by "ferdna" (May 6th 2008, 9:24pm)
RE: CMake Error: Could NOT find QtCore.
in the makefile or .pro file, you need to tell the compiler where the QtCore lib is
I upgraded to CMake 2.6... and this is a better output message...
CMake Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/FindQt4.cmake:
764 (MESSAGE):
Could NOT find QtCore. Check
D:/build/CMakeFiles/CMakeError.log for more details.
Call Stack (most recent call first):
CMakeLists.txt:5 (FIND_PACKAGE)
-- Configuring done
This post has been edited 1 times, last edit by "ferdna" (May 6th 2008, 10:10pm)
what does your link line look like also what os are you on?
This post has been edited 1 times, last edit by "KingMike" (May 6th 2008, 10:12pm)
windows xp.
"C:\Program Files\CMake 2.6\bin\cmake" -G "Visual Studio 8 2005" ../
Somehow the linker does not know where to look for the QtCore. Can you post the line where the linking is defined?