CONFIG += testcase QT += qml 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_\\\"\"