summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-05-06 13:42:01 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-05-06 13:42:01 (GMT)
commitf4f5da869c29fd9cfff58c9d9ccd9b740f42b329 (patch)
tree0584b49aa57d40af12d16c20c780fca425568323 /Modules
parentc2cb8a213cee719c95fcb6541189d1e339edf29c (diff)
downloadCMake-f4f5da869c29fd9cfff58c9d9ccd9b740f42b329.zip
CMake-f4f5da869c29fd9cfff58c9d9ccd9b740f42b329.tar.gz
CMake-f4f5da869c29fd9cfff58c9d9ccd9b740f42b329.tar.bz2
ENH: Add support for QtScriptTools in Qt 4.5.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt4.cmake6
-rw-r--r--Modules/UseQt4.cmake5
2 files changed, 8 insertions, 3 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 2050dec..a806542 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -159,6 +159,7 @@
# QT_QTWEBKIT_FOUND True if QtWebKit was found.
# QT_QTXMLPATTERNS_FOUND True if QtXmlPatterns was found.
# QT_PHONON_FOUND True if phonon was found.
+# QT_QTSCRIPTTOOLS_FOUND True if QtScriptTools was found.
#
#
# QT_DEFINITIONS Definitions to use when compiling code that uses Qt.
@@ -202,6 +203,7 @@
# QT_QTWEBKIT_INCLUDE_DIR Path to "include/QtWebKit"
# QT_QTXMLPATTERNS_INCLUDE_DIR Path to "include/QtXmlPatterns"
# QT_PHONON_INCLUDE_DIR Path to "include/phonon"
+# QT_QTSCRIPTTOOLS_INCLUDE_DIR Path to "include/QtScriptTools"
#
# QT_BINARY_DIR Path to "bin" of Qt4
# QT_LIBRARY_DIR Path to "lib" of Qt4
@@ -241,6 +243,7 @@
# QT_QTWEBKIT_LIBRARY The QtWebKit library
# QT_QTXMLPATTERNS_LIBRARY The QtXmlPatterns library
# QT_PHONON_LIBRARY The phonon library
+# QT_QTSCRIPTTOOLS_LIBRARY The QtScriptTools library
#
# also defined, but NOT for general use are
# QT_MOC_EXECUTABLE Where to find the moc tool.
@@ -544,7 +547,7 @@ IF (QT4_QMAKE_FOUND)
SET(QT_MODULES QtCore QtGui Qt3Support QtSvg QtScript QtTest QtUiTools
QtHelp QtWebKit QtXmlPatterns phonon QtMotif QtNetwork
- QtNsPlugin QtOpenGL QtSql QtXml QtDesigner QtDBus)
+ QtNsPlugin QtOpenGL QtSql QtXml QtDesigner QtDBus QtScriptTools)
IF(QT_QMAKE_CHANGED)
FOREACH(QT_MODULE ${QT_MODULES})
@@ -832,6 +835,7 @@ IF (QT4_QMAKE_FOUND)
_QT4_ADJUST_LIB_VARS(PHONON)
_QT4_ADJUST_LIB_VARS(QTCLUCENE)
_QT4_ADJUST_LIB_VARS(QTMOTIF)
+ _QT4_ADJUST_LIB_VARS(QTSCRIPTTOOLS)
# platform dependent libraries
IF(WIN32)
diff --git a/Modules/UseQt4.cmake b/Modules/UseQt4.cmake
index 29de8cb..d8b3756 100644
--- a/Modules/UseQt4.cmake
+++ b/Modules/UseQt4.cmake
@@ -53,12 +53,13 @@ SET(QT_QTDBUS_MODULE_DEPENDS QTXML QTCORE)
SET(QT_QTXMLPATTERNS_MODULE_DEPENDS QTNETWORK QTCORE)
SET(QT_QAXCONTAINER_MODULE_DEPENDS QTGUI QTCORE)
SET(QT_QAXSERVER_MODULE_DEPENDS QTGUI QTCORE)
+SET(QT_QTSCRIPTTOOLS_MODULE_DEPENDS QTGUI QTCORE)
# Qt modules (in order of dependence)
FOREACH(module QT3SUPPORT QTOPENGL QTASSISTANT QTDESIGNER QTMOTIF QTNSPLUGIN
QAXSERVER QAXCONTAINER QTSCRIPT QTSVG QTUITOOLS QTHELP
- QTWEBKIT PHONON QTGUI QTTEST QTDBUS QTXML QTSQL QTXMLPATTERNS
- QTNETWORK QTCORE)
+ QTWEBKIT PHONON QTSCRIPTTOOLS QTGUI QTTEST QTDBUS QTXML QTSQL
+ QTXMLPATTERNS QTNETWORK QTCORE)
IF (QT_USE_${module} OR QT_USE_${module}_DEPENDS)
IF (QT_${module}_FOUND)