summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qmltestcase.prf
blob: a3d66e659e78903e7a475ae6592e5a8b76662a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
CONFIG += testcase

!symbian {
    INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtQuickTest
} else {
    load(data_caging_paths)

    INCLUDEPATH+=$$MW_LAYER_PUBLIC_EXPORT_PATH(QtQuickTest)
}

QT += declarative

win32:CONFIG(debug, debug|release) {
    LIBS += -lQtQuickTest$${QT_LIBINFIX}d
} else {
    LIBS += -lQtQuickTest$${QT_LIBINFIX}
}

# 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=\"\\\"$$OUT_PWD\\\"\"