aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qmltest
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmltest')
-rw-r--r--examples/qmltest/qmltest/qmltest.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/qmltest/qmltest/qmltest.pro b/examples/qmltest/qmltest/qmltest.pro
index 033a90ba82..dbf032e11c 100644
--- a/examples/qmltest/qmltest/qmltest.pro
+++ b/examples/qmltest/qmltest/qmltest.pro
@@ -3,5 +3,9 @@ TARGET=tst_qmltestexample
CONFIG += qmltestcase
SOURCES += tst_qmltest.cpp
-# Don't install by default
-CONFIG += no_testcase_installs
+# Note: Normally, tests are auto-installed to a test-specific directory. Overwritten here
+# so this one will end up in the examples tree.
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qmltest
+sources.files = $$SOURCES qmltest.pro *.qml
+sources.path = $$target.path
+INSTALLS = sources target