[cmake-developers] [CMake 0014419]: Cmake Could NOT find QtCore

Mantis Bug Tracker mantis at public.kitware.com
Tue Sep 17 08:17:20 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14419 
====================================================================== 
Reported By:                sergeyvl
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14419
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2013-09-17 08:17 EDT
Last Modified:              2013-09-17 08:17 EDT
====================================================================== 
Summary:                    Cmake Could NOT find QtCore
Description: 
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.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-09-17 08:17 sergeyvl       New Issue                                    
======================================================================




More information about the cmake-developers mailing list