ENH: partly sync with the KDE vesion: find the dbus tools coming with Qt since 4.2
Alex
This commit is contained in:
parent
e9be4e0c01
commit
2c480fd228
|
@ -149,6 +149,8 @@
|
||||||
# QT_UIC_EXECUTABLE Where to find the uic tool.
|
# QT_UIC_EXECUTABLE Where to find the uic tool.
|
||||||
# QT_UIC3_EXECUTABLE Where to find the uic3 tool.
|
# QT_UIC3_EXECUTABLE Where to find the uic3 tool.
|
||||||
# QT_RCC_EXECUTABLE Where to find the rcc tool
|
# QT_RCC_EXECUTABLE Where to find the rcc tool
|
||||||
|
# QT_DBUSCPP2XML_EXECUTABLE Where to find the qdbuscpp2xml tool.
|
||||||
|
# QT_DBUSXML2CPP_EXECUTABLE Where to find the qdbusxml2cpp tool.
|
||||||
#
|
#
|
||||||
# QT_DOC_DIR Path to "doc" of Qt4
|
# QT_DOC_DIR Path to "doc" of Qt4
|
||||||
# QT_MKSPECS_DIR Path to "mkspecs" of Qt4
|
# QT_MKSPECS_DIR Path to "mkspecs" of Qt4
|
||||||
|
@ -685,6 +687,18 @@ IF (QT4_QMAKE_FOUND)
|
||||||
NO_DEFAULT_PATH
|
NO_DEFAULT_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
|
FIND_PROGRAM(QT_DBUSCPP2XML_EXECUTABLE
|
||||||
|
NAMES qdbuscpp2xml
|
||||||
|
PATHS ${QT_BINARY_DIR}
|
||||||
|
NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
|
||||||
|
FIND_PROGRAM(QT_DBUSXML2CPP_EXECUTABLE
|
||||||
|
NAMES qdbusxml2cpp
|
||||||
|
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)
|
||||||
|
|
Loading…
Reference in New Issue