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

include(doc/doc.pri)