add support for finding qcollectiongenerator executable. fixes #9248.
This commit is contained in:
parent
ecfca5d0a8
commit
36606b6d73
|
@ -255,6 +255,7 @@
|
||||||
# QT_DBUSXML2CPP_EXECUTABLE Where to find the qdbusxml2cpp tool.
|
# QT_DBUSXML2CPP_EXECUTABLE Where to find the qdbusxml2cpp tool.
|
||||||
# QT_LUPDATE_EXECUTABLE Where to find the lupdate tool.
|
# QT_LUPDATE_EXECUTABLE Where to find the lupdate tool.
|
||||||
# QT_LRELEASE_EXECUTABLE Where to find the lrelease tool.
|
# QT_LRELEASE_EXECUTABLE Where to find the lrelease tool.
|
||||||
|
# QT_QCOLLECTIONGENERATOR_EXECUTABLE Where to find the qcollectiongenerator tool.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# These are around for backwards compatibility
|
# These are around for backwards compatibility
|
||||||
|
@ -880,6 +881,7 @@ IF (QT4_QMAKE_FOUND)
|
||||||
SET(QT_DBUSXML2CPP_EXECUTABLE NOTFOUND)
|
SET(QT_DBUSXML2CPP_EXECUTABLE NOTFOUND)
|
||||||
SET(QT_LUPDATE_EXECUTABLE NOTFOUND)
|
SET(QT_LUPDATE_EXECUTABLE NOTFOUND)
|
||||||
SET(QT_LRELEASE_EXECUTABLE NOTFOUND)
|
SET(QT_LRELEASE_EXECUTABLE NOTFOUND)
|
||||||
|
SET(QT_QCOLLECTIONGENERATOR_EXECUTABLE NOTFOUND)
|
||||||
ENDIF(QT_QMAKE_CHANGED)
|
ENDIF(QT_QMAKE_CHANGED)
|
||||||
|
|
||||||
FIND_PROGRAM(QT_MOC_EXECUTABLE
|
FIND_PROGRAM(QT_MOC_EXECUTABLE
|
||||||
|
@ -930,6 +932,12 @@ IF (QT4_QMAKE_FOUND)
|
||||||
NO_DEFAULT_PATH
|
NO_DEFAULT_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
|
FIND_PROGRAM(QT_QCOLLECTIONGENERATOR_EXECUTABLE
|
||||||
|
NAMES qcollectiongenerator-qt4 qcollectiongenerator
|
||||||
|
PATHS ${QT_BINARY_DIR}
|
||||||
|
NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
|
||||||
IF (QT_MOC_EXECUTABLE)
|
IF (QT_MOC_EXECUTABLE)
|
||||||
SET(QT_WRAP_CPP "YES")
|
SET(QT_WRAP_CPP "YES")
|
||||||
ENDIF (QT_MOC_EXECUTABLE)
|
ENDIF (QT_MOC_EXECUTABLE)
|
||||||
|
@ -942,7 +950,7 @@ IF (QT4_QMAKE_FOUND)
|
||||||
|
|
||||||
MARK_AS_ADVANCED( QT_UIC_EXECUTABLE QT_UIC3_EXECUTABLE QT_MOC_EXECUTABLE
|
MARK_AS_ADVANCED( QT_UIC_EXECUTABLE QT_UIC3_EXECUTABLE QT_MOC_EXECUTABLE
|
||||||
QT_RCC_EXECUTABLE QT_DBUSXML2CPP_EXECUTABLE QT_DBUSCPP2XML_EXECUTABLE
|
QT_RCC_EXECUTABLE QT_DBUSXML2CPP_EXECUTABLE QT_DBUSCPP2XML_EXECUTABLE
|
||||||
QT_LUPDATE_EXECUTABLE QT_LRELEASE_EXECUTABLE)
|
QT_LUPDATE_EXECUTABLE QT_LRELEASE_EXECUTABLE QT_QCOLLECTIONGENERATOR_EXECUTABLE)
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue