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                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to