[cmake-developers] [CMake 0012547]: FindQt4 fails to find QtCore lib

Mantis Bug Tracker mantis at public.kitware.com
Sat Oct 29 07:22:36 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12547 
====================================================================== 
Reported By:                George Petasis
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12547
Category:                   Modules
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-10-29 07:22 EDT
Last Modified:              2011-10-29 07:22 EDT
====================================================================== 
Summary:                    FindQt4 fails to find QtCore lib
Description: 
FindQt4 uses QT_LIBINFIX (from qconfig.pri) to locate libraries,
but under Ubuntu qconfig.pri reports QT_LIBINFIX as empty (has no value).

So, FindQt4 cannot locate the QtCore library, named as:
/usr/lib/i386-linux-gnu/libQtCore.so.4
/usr/lib/i386-linux-gnu/libQtCore.so.4.7
/usr/lib/i386-linux-gnu/libQtCore.so.4.7.4

So, this fails:

FIND_LIBRARY(QT_QTCORE_LIBRARY_RELEASE
             NAMES QtCore${QT_LIBINFIX} QtCore${QT_LIBINFIX}4
             HINTS ${QT_LIBRARY_DIR_TMP}
)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-10-29 07:22 George Petasis New Issue                                    
======================================================================




More information about the cmake-developers mailing list