diff options
Diffstat (limited to 'Modules/FindQt.cmake')
-rw-r--r-- | Modules/FindQt.cmake | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 2645e3a..995d43f 100644 --- a/Modules/FindQt.cmake +++ b/Modules/FindQt.cmake @@ -49,12 +49,18 @@ FIND_LIBRARY(QT_QASSISTANTCLIENT_LIBRARY C:/Progra~1/qt/lib ) -FIND_PROGRAM(QT_MOC_EXECUTABLE moc - $ENV{QTDIR}/bin C:/Progra~1/qt/bin +FIND_PROGRAM(QT_MOC_EXECUTABLE + NAMES moc moc-qt3 + PATHS + $ENV{QTDIR}/bin + "C:/Program Files/qt/bin" + C:/Progra~1/qt/bin + /usr/bin + ) FIND_PROGRAM(QT_UIC_EXECUTABLE uic - $ENV{QTDIR}/bin C:/Progra~1/qt/bin + $ENV{QTDIR}/bin C:/Progra~1/qt/bin /usr/bin ) |