FindQt4.cmake

Peter Kümmel syntheticpp at gmx.net
Wed Feb 1 15:49:20 CET 2006


  FIND_PATH( QT_QT_INCLUDE_DIR QtGlobal
    "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/include/Qt"
    ${QT_PATH_INCLUDE}
    ${QT_HEADERS_DIR}/Qt
    ${QT_LIBRARY_DIR}/QtCore.framework/Headers
    $ENV{QTDIR}/include/Qt
    /usr/local/qt/include/Qt
    /usr/local/include/Qt
    /usr/lib/qt/include/Qt
    /usr/include/Qt
    /usr/share/qt4/include/Qt
    "C:/Program Files/qt/include/Qt"
    /usr/include/qt4/Qt)

Is this really correct?
There is no QtGlobal in QTDIR/include/Qt. QtGlobal is in QtCore!
When I add   ${QT_LIBRARY_DIR}/../include/QtCore  to the path list
cmake could find it.

Peter


More information about the Kde-buildsystem mailing list