isEmpty(TEMPLATE):TEMPLATE=app CONFIG += qt warn_on console depend_includepath testcase qtAddLibrary(QtTest) # prefix test binary with tst_ !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_") isEmpty(target.path) { target.path += $$[QT_INSTALL_PREFIX]/tests/qt4/$${TARGET} } INSTALLS += target