diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-12-09 10:03:48 +1000 |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-12-09 10:07:30 +1000 |
commit | af3a7a764686554e86da7dda7f2d17111abc8409 (patch) | |
tree | 79bbe93eb17001d3e59a65c8208b52ac41b5f2ab /qtest-qml.pro | |
parent | c06d64bb49c26e13d8aa27275838389484bb64a0 (diff) |
Install qmltestcase.prf for user applications
Diffstat (limited to 'qtest-qml.pro')
-rw-r--r-- | qtest-qml.pro | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qtest-qml.pro b/qtest-qml.pro index 26d5720..e9e3c94 100644 --- a/qtest-qml.pro +++ b/qtest-qml.pro @@ -1,3 +1,18 @@ TEMPLATE = subdirs SUBDIRS = src tests CONFIG += ordered + +# Install qmltestcase.prf into the Qt mkspecs so that "CONFIG += qmltestcase" +# can be used in customer applications to build against QtQuickTest. +feature.path = $$[QT_INSTALL_DATA]/mkspecs/features +feature.files = $$PWD/features/qmltestcase.prf +INSTALLS += feature + +#symbian does not generate make install rule. Copy prf manually +symbian { + qmltestcaseFile=$$PWD\\features\\qmltestcase.prf + qmltestcaseFile=$$replace(qmltestcaseFile,/,\\) + featuresDir=$$[QT_INSTALL_DATA]\\mkspecs\\features + featuresDir=$$replace(featuresDir,/,\\) + system(copy "$$qmltestcaseFile $$featuresDir") +} |