summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2011-01-03 19:01:57 +0100
committeraxis <qt-info@nokia.com>2011-04-27 12:05:50 +0200
commitd254c1d684cf9e9c26b18d8f8a5f826873ee5f9f (patch)
treebb1ec86c13df612bbefd2dc9512bdb7274b6e46f
parente7275e55aa4ca819ddd8757a650385ffa9ce54dc (diff)
Extended module profiles.
Each module now sets the QT_CONFIG variable itself.
-rw-r--r--modules/qt_qt3support.pri8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/qt_qt3support.pri b/modules/qt_qt3support.pri
index 76ad617..5554999 100644
--- a/modules/qt_qt3support.pri
+++ b/modules/qt_qt3support.pri
@@ -9,4 +9,10 @@ QT.qt3support.private_includes = $$QT_MODULE_INCLUDE_BASE/Qt3Support/private
QT.qt3support.sources = $$QT_MODULE_BASE/src/qt3support
QT.qt3support.libs = $$QT_MODULE_LIB_BASE
QT.qt3support.depends = core gui
-QT.qt3support.DEFINES = QT3_SUPPORT
+QT.qt3support.DEFINES = QT3_SUPPORT QT_QT3SUPPORT_LIB
+
+contains(QT_CONFIG, gui-qt3support) {
+ QT_CONFIG += qt3support
+} else {
+ warning("Attempted to include $$QT.qt3support.name in the build, but $$QT.gui.name was not built with $$QT.qt3support.name enabled.")
+}