qt5base-lts/mkspecs/features/qmltestcase.prf
Charles Yin 035d6b9188 add qmltestcase.prf for QtQuickTest
so that 'CONFIG += qmltestcase' works
2011-05-21 23:51:48 +10:00

26 lines
606 B
Plaintext

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\\\"\"