summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2013-12-28 15:47:15 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-08 15:04:42 +0100
commita5d8d21e5ff33b88c15f4767b3a0d04ad4dbed7a (patch)
treeadb782ba69550f9db8d58d98a8d4a2276fac701c /tests
parent2f7bef547e51ee6f2fe8f12bbe33f4978d6bd7f2 (diff)
downloadqtwebchannel-a5d8d21e5ff33b88c15f4767b3a0d04ad4dbed7a.tar.gz
Allow running of QML tests without needing "make install" first.
In addition to these steps, the developer must symlink the qmldir from the source directory to <his build-folder>/qml/QtWebChannel. Change-Id: Ieb1131edc907c98d9ce9134760f14633b07eb080 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qml/qml.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qml/qml.pro b/tests/qml/qml.pro
index 8f2df3f..4a68cd1 100644
--- a/tests/qml/qml.pro
+++ b/tests/qml/qml.pro
@@ -1,11 +1,11 @@
-QT += testlib
+QT += testlib webchannel
TEMPLATE = app
TARGET = qml
CONFIG += warn_on qmltestcase
# TODO: running tests without requiring make install
-IMPORTPATH += $$PWD
+IMPORTPATH += $$OUT_PWD/../../qml $$PWD
SOURCES += \
qml.cpp