qmltestcase.prf 342 B

12345678910111213
  1. CONFIG += testcase
  2. QT += qml qmltest
  3. mac: CONFIG -= app_bundle
  4. # If the .pro file specified an IMPORTPATH, then add that to
  5. # the command-line when the test is run.
  6. !isEmpty(IMPORTPATH) {
  7. load(testcase)
  8. for(import, IMPORTPATH): check.commands += -import \"$$import\"
  9. }
  10. DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"$$_PRO_FILE_PWD_\\\"\"