diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 64942f32c..41e277630 100644 --- a/Modules/FindQt.cmake +++ b/Modules/FindQt.cmake @@ -62,6 +62,7 @@ ENDIF(QT_QMAKE_EXECUTABLE) FIND_FILE( QT4_QGLOBAL_H_FILE qglobal.h "${QT_SEARCH_PATH}/Qt/include" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/include/Qt" + "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/include/Qt" ${qt_headers}/Qt $ENV{QTDIR}/include/Qt /usr/local/qt/include/Qt diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 347640a48..c44fe2edb 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -128,6 +128,7 @@ ENDIF(GLOB_TEMP_VAR) # check for qmake FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake PATHS "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/bin" + "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/bin" $ENV{QTDIR}/bin ${QT4_PATHS} )