summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/tests.pri
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2017-09-13 18:42:23 +0200
committerMichal Klocek <michal.klocek@qt.io>2017-09-19 07:51:20 +0000
commitd8f18e2b918e2f7c8149d3e6cd1510b27bde7dfd (patch)
treefab2058afa678909dd06f831b79fb68316cdb40a /tests/auto/quick/tests.pri
parentaaac5fe1f9a1be81b919642e6272967f86fef1a5 (diff)
Add testsupport to new configure system
Change-Id: I123ce22ea3a3d8b7b80c67fa322cb817d924f2e0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/quick/tests.pri')
-rw-r--r--tests/auto/quick/tests.pri5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/quick/tests.pri b/tests/auto/quick/tests.pri
index e00537b9e..15f6517a4 100644
--- a/tests/auto/quick/tests.pri
+++ b/tests/auto/quick/tests.pri
@@ -1,3 +1,6 @@
+include($$QTWEBENGINE_OUT_ROOT/qtwebengine-config.pri)
+QT_FOR_CONFIG += webengine-private
+
TEMPLATE = app
CONFIG += testcase
@@ -16,7 +19,7 @@ QT += testlib network quick webengine
# This define is used by some tests to look up resources in the source tree
DEFINES += TESTS_SOURCE_DIR=\\\"$$PWD/\\\"
-isQMLTestSupportApiEnabled() {
+qtConfig(testsupport) {
DEFINES += ENABLE_QML_TESTSUPPORT_API
}