make it possible to explicitly exclude particular modules

Task-number: QTBUG-26697
Change-Id: Id3f091be5803d922e129e6c3b5d9dfcdd297d18f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
This commit is contained in:
Oswald Buddenhagen
2013-02-20 10:36:36 +01:00
committed by The Qt Project
parent aeed8ce504
commit 08ec2c7a62

6
qt.pro
View File

@@ -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) {