summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@theqtcompany.com>2015-03-12 13:31:26 +0100
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-03-12 13:58:33 +0000
commit5194fe16234cd88dccd763e5d1e497859b7c72b0 (patch)
tree86703a221bca3c366037dcda003830774f8e57c4
parent24494fc6f1f222f9f4979dc870ba5d54a5941afc (diff)
Enable building the QML test support API for developer builds
This makes sure developers at least build this codepath so we have the needed coverage to find out if something breaks. Change-Id: Id56ecf5bb051e873e9bcf313a50a5eec23c2bd83 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
-rw-r--r--tools/qmake/mkspecs/features/functions.prf1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
index a34bd23c6..2b42346f1 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -38,6 +38,7 @@ defineTest(isGCCVersionSupported) {
}
defineTest(isQMLTestSupportApiEnabled) {
+ contains(QT_CONFIG, private_tests): return(true) # enable for developer-build
contains(QT_BUILD_PARTS, tests): return(true)
contains(WEBENGINE_CONFIG, testsupport): return(true)
return(false)