From aba67cc3f020f03d8ed8ef5303d413044031bc58 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 22 Nov 2012 11:33:28 +0100 Subject: 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 Reviewed-by: hjk --- examples/qmltest/qmltest/qmltest.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'examples/qmltest') 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 -- cgit v1.2.3