diff --git a/Modules/FindQt3.cmake b/Modules/FindQt3.cmake index 46c337f17d..d2f2f9013e 100644 --- a/Modules/FindQt3.cmake +++ b/Modules/FindQt3.cmake @@ -138,7 +138,7 @@ FIND_LIBRARY(QT_QASSISTANTCLIENT_LIBRARY # qt 3 should prefer QTDIR over the PATH FIND_PROGRAM(QT_MOC_EXECUTABLE - NAMES moc moc-qt3 + NAMES moc-qt3 moc HINTS $ENV{QTDIR}/bin PATHS @@ -160,7 +160,8 @@ IF(QT_MOC_EXECUTABLE) ENDIF(QT_MOC_EXECUTABLE) # qt 3 should prefer QTDIR over the PATH -FIND_PROGRAM(QT_UIC_EXECUTABLE uic +FIND_PROGRAM(QT_UIC_EXECUTABLE + NAMES uic-qt3 uic HINTS $ENV{QTDIR}/bin PATHS