Friday, July 25th 2008, 2:54am UTC+1

You are not logged in.

  • Login
  • Register

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.

ferdna

Beginner

Posts: 24

Location: Texas, USA

Occupation: Programming

1

Tuesday, May 6th 2008, 9:22pm

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
It Is Not That I'm Different! ... I'm Only Making The Difference!
Slackware 12.1 http://www.eonsoft.us
myspace: www.myspace.com/ferloc

This post has been edited 1 times, last edit by "ferdna" (May 6th 2008, 9:24pm)

  • Go to the top of the page

2

Tuesday, May 6th 2008, 9:49pm

RE: CMake Error: Could NOT find QtCore.

in the makefile or .pro file, you need to tell the compiler where the QtCore lib is
  • Go to the top of the page

ferdna

Beginner

Posts: 24

Location: Texas, USA

Occupation: Programming

3

Tuesday, May 6th 2008, 10:08pm

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
It Is Not That I'm Different! ... I'm Only Making The Difference!
Slackware 12.1 http://www.eonsoft.us
myspace: www.myspace.com/ferloc

This post has been edited 1 times, last edit by "ferdna" (May 6th 2008, 10:10pm)

  • Go to the top of the page

4

Tuesday, May 6th 2008, 10:11pm

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)

  • Go to the top of the page

ferdna

Beginner

Posts: 24

Location: Texas, USA

Occupation: Programming

5

Tuesday, May 6th 2008, 10:14pm

windows xp.

"C:\Program Files\CMake 2.6\bin\cmake" -G "Visual Studio 8 2005" ../
It Is Not That I'm Different! ... I'm Only Making The Difference!
Slackware 12.1 http://www.eonsoft.us
myspace: www.myspace.com/ferloc
  • Go to the top of the page

6

Tuesday, May 6th 2008, 10:19pm

Somehow the linker does not know where to look for the QtCore. Can you post the line where the linking is defined?
  • Go to the top of the page

Rate this thread