aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ménard <menard@kde.org>2010-02-16 22:47:13 +0000
committerAlexis Ménard <menard@kde.org>2010-02-16 22:47:13 +0000
commit6ce823aac7fd4b485e06443470d4d8ceb979181a (patch)
treec3f6016fb1b046c6720f26b9c6a1b3ec42c7024a
parente0686ebcf991fda497f42c9287a4c2d3008d3421 (diff)
downloadextra-cmake-modules-6ce823aac7fd4b485e06443470d4d8ceb979181a.tar.gz
extra-cmake-modules-6ce823aac7fd4b485e06443470d4d8ceb979181a.tar.bz2
Add the support of QtDeclarative module in Qt 4.7. Green flag in
kde-core-devel. svn path=/trunk/KDE/kdelibs/; revision=1091507
-rw-r--r--modules/FindQt4.cmake10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/FindQt4.cmake b/modules/FindQt4.cmake
index 081e996e..0fef4275 100644
--- a/modules/FindQt4.cmake
+++ b/modules/FindQt4.cmake
@@ -51,6 +51,7 @@
# QT_USE_QTXMLPATTERNS
# QT_USE_PHONON
# QT_USE_QTSCRIPTTOOLS
+# QT_USE_QTDECLARATIVE
#
# QT_USE_IMPORTED_TARGETS
# If this variable is set to TRUE, FindQt4.cmake will create imported
@@ -198,6 +199,7 @@
# QT_QTXML_FOUND True if QtXml was found.
# QT_QTXMLPATTERNS_FOUND True if QtXmlPatterns was found.
# QT_PHONON_FOUND True if phonon was found.
+# QT_QTDECLARATIVE_FOUND True if QtDeclarative was found.
#
# QT_MAC_USE_COCOA For Mac OS X, its whether Cocoa or Carbon is used.
# In general, this should not be used, but its useful
@@ -247,7 +249,8 @@
# 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_QTDECLARATIVE_INCLUDE_DIR Path to "include/QtDeclarative"
+#
# QT_BINARY_DIR Path to "bin" of Qt4
# QT_LIBRARY_DIR Path to "lib" of Qt4
# QT_PLUGINS_DIR Path to "plugins" for Qt4
@@ -313,6 +316,8 @@
#
# The Phonon library: QT_PHONON_LIBRARY
#
+# The QtDeclarative library: QT_QTDECLARATIVE_LIBRARY
+#
# also defined, but NOT for general use are
# QT_MOC_EXECUTABLE Where to find the moc tool.
# QT_UIC_EXECUTABLE Where to find the uic tool.
@@ -687,7 +692,7 @@ IF (QT4_QMAKE_FOUND)
SET(QT_MODULES QtCore QtGui Qt3Support QtSvg QtScript QtTest QtUiTools
QtHelp QtWebKit QtXmlPatterns QtNetwork QtMultimedia
- QtNsPlugin QtOpenGL QtSql QtXml QtDesigner QtDBus QtScriptTools)
+ QtNsPlugin QtOpenGL QtSql QtXml QtDesigner QtDBus QtScriptTools QtDeclarative)
IF(Q_WS_X11)
SET(QT_MODULES ${QT_MODULES} QtMotif)
@@ -1004,6 +1009,7 @@ IF (QT4_QMAKE_FOUND)
_QT4_ADJUST_LIB_VARS(QtAssistantClient)
_QT4_ADJUST_LIB_VARS(QtCLucene)
_QT4_ADJUST_LIB_VARS(QtDBus)
+ _QT4_ADJUST_LIB_VARS(QtDeclarative)
_QT4_ADJUST_LIB_VARS(QtDesigner)
_QT4_ADJUST_LIB_VARS(QtDesignerComponents)
_QT4_ADJUST_LIB_VARS(QtHelp)