From 5194fe16234cd88dccd763e5d1e497859b7c72b0 Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Thu, 12 Mar 2015 13:31:26 +0100 Subject: 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 --- tools/qmake/mkspecs/features/functions.prf | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3