summaryrefslogtreecommitdiffstats
path: root/qtest-qml.pro
blob: e9e3c944601d8dc2b3ee314bf68b6e38fc47dd82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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")
}