qt5base-lts/mkspecs/features/qmltestcase.prf

14 lines
351 B
Plaintext
Raw Normal View History

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