summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-12-15 12:44:44 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-12-15 12:44:44 +1000
commitca2133ab144a78269b27231bbc3cfd75c5911df6 (patch)
treeef8c6f5311e8f5cb14c2bc0dbe2c4218ea491c67 /tests
parent55959eddf9286ce76f25c7e157f7b726862b328e (diff)
Deprecate running tests from resources
Too much house-keeping is needed to run tests from resources, so start the process of removing support to discourage the creation of poor test harnesses.
Diffstat (limited to 'tests')
-rw-r--r--tests/qmlexample/qmlexample.pro2
-rw-r--r--tests/qmlexample/qmlexample.qrc6
2 files changed, 1 insertions, 7 deletions
diff --git a/tests/qmlexample/qmlexample.pro b/tests/qmlexample/qmlexample.pro
index 502d16a..c101b98 100644
--- a/tests/qmlexample/qmlexample.pro
+++ b/tests/qmlexample/qmlexample.pro
@@ -2,5 +2,5 @@ TEMPLATE=app
TARGET=tst_qmlexample
CONFIG += warn_on testcase
SOURCES += tst_qmlexample.cpp
-RESOURCES += qmlexample.qrc
+DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"$$PWD\\\"\"
include(../../src/quicktestlib/quicktestlib_dep.pri)
diff --git a/tests/qmlexample/qmlexample.qrc b/tests/qmlexample/qmlexample.qrc
deleted file mode 100644
index ee7c380..0000000
--- a/tests/qmlexample/qmlexample.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<!DOCTYPE RCC><RCC version="1.0">
-<qresource>
- <file>tst_basic.qml</file>
- <file>tst_item.qml</file>
-</qresource>
-</RCC>