summaryrefslogtreecommitdiff
path: root/tests/auto/webchannel/webchannel.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/webchannel/webchannel.pro')
-rw-r--r--tests/auto/webchannel/webchannel.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/webchannel/webchannel.pro b/tests/auto/webchannel/webchannel.pro
index 40b324e..2dcc610 100644
--- a/tests/auto/webchannel/webchannel.pro
+++ b/tests/auto/webchannel/webchannel.pro
@@ -12,3 +12,8 @@ SOURCES += \
HEADERS += \
tst_webchannel.h
+
+qtHaveModule(qml) {
+ DEFINES += WEBCHANNEL_TESTS_CAN_USE_JS_ENGINE
+ QT += qml
+}