MantisBT - CMake
View Issue Details
0014419CMakeCMakepublic2013-09-17 08:172016-06-10 14:31
sergeyvl 
Kitware Robot 
highmajoralways
closedmoved 
Linux
CMake 2.8.11.2 
 
0014419: Cmake Could NOT find QtCore
I have compiled Qt 4.8.5 (arm linux build) in /usr/local/qt4_kobo. It works. I can build and run my projects by means of qmake. But...

My intent was to build CoolReader 3 Qt GUI. CoolReader uses cmake.

I got the following cmake error:

--------
CMake Warning at /usr/local/share/cmake-2.8/Modules/FindQt4.cmake:657 (message):
  /usr/local/qt4_kobo/bin/qmake reported QT_INSTALL_LIBS as
  "/usr/local/qt4_kobo/lib" but QtCore could not be found there. Qt is NOT
  installed correctly for the target build environment.
Call Stack (most recent call first):
  CMakeLists.txt:105 (FIND_PACKAGE)
--------

It determines correctly Qt lib directory (/usr/local/qt4_kobo/lib) but can't find libQtCore in it. But I have libQtCore.so, libQtCore.so.4, ... etc in this directory.
No tags attached.
Issue History
2013-09-17 08:17sergeyvlNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042367
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042367)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.