qt5base-lts/mkspecs/features/qmltestcase.prf

12 lines
316 B
Plaintext
Raw Normal View History

CONFIG += testcase
QT += declarative qmltest
# 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\\\"\"