summaryrefslogtreecommitdiffstats
path: root/qt.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-02-20 10:36:36 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-20 22:55:13 +0100
commit08ec2c7a620de84591552b57e396fe3fd404418c (patch)
tree019bb0d72ac3a92714c15c4b3022ae9ea5852ab6 /qt.pro
parentaeed8ce504b47985ef317f2cfcd6f715916303fb (diff)
make it possible to explicitly exclude particular modules
Task-number: QTBUG-26697 Change-Id: Id3f091be5803d922e129e6c3b5d9dfcdd297d18f Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qt.pro')
-rw-r--r--qt.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/qt.pro b/qt.pro
index 9614e433..91151678 100644
--- a/qt.pro
+++ b/qt.pro
@@ -1,9 +1,10 @@
# Create the super cache so modules will add themselves to it.
cache(, super)
-TEMPLATE = subdirs
+CONFIG += build_pass # hack to disable the .qmake.super auto-add
+load(qt_build_config)
-CONFIG += prepare_docs qt_docs_targets testcase_targets
+TEMPLATE = subdirs
defineReplace(moduleName) {
return(module_$$replace(1, -, _))
@@ -11,6 +12,7 @@ defineReplace(moduleName) {
# Arguments: module name, [mandatory deps], [optional deps], [project file]
defineTest(addModule) {
+ contains(QT_SKIP_MODULES, $$1): return(false)
mod = $$moduleName($$1)
isEmpty(4) {