aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qmltest
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2012-11-22 11:33:28 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-22 14:10:05 +0100
commitaba67cc3f020f03d8ed8ef5303d413044031bc58 (patch)
tree7eedf57d46e6d1cb0223d8e6e455011cf914a0f1 /examples/qmltest
parent8fc95e65e77328c995ef4a3a633a95c86f5e0bdf (diff)
Fix installation of examples.
Enable examples to be built in the target tree. This entails installing the project files and possibly other missing stuff. Task-number: QTBUG-27977 Change-Id: I159fd8e3ebc7077e1d68e085c4947acc058ce594 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: hjk <qthjk@ovi.com>
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