summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qmltestcase.prf
blob: 916ff0c9acb0596686c106ea061f4677f35a6512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CONFIG += testcase

QT += declarative qmltest

macx: CONFIG -= app_bundle

# If the .pro file specified an IMPORTPATH, then add that to
# the command-line when the test is run.
!isEmpty(IMPORTPATH) {
    load(testcase)
    for(import, IMPORTPATH): check.commands += -import \"$$import\"
}
DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"$$_PRO_FILE_PWD_\\\"\"