From c9ee64d8b7756679c4f8d3a8739ccb379e215e9a Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Wed, 4 Jan 2012 22:21:48 +0100 Subject: Remove qttest_p4.prf file qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Most autotest .pro files should look like this: CONFIG += testcase TARGET = tst_something QT = core testlib SOURCES = tst_something.cpp Change-Id: I051b230c5c4fd56dc6eae2b9b7bdff6c033248fd Reviewed-by: Rohan McGovern Reviewed-by: Bradley T. Hughes --- mkspecs/features/qttest_p4.prf | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 mkspecs/features/qttest_p4.prf (limited to 'mkspecs') diff --git a/mkspecs/features/qttest_p4.prf b/mkspecs/features/qttest_p4.prf deleted file mode 100644 index 1712e94660..0000000000 --- a/mkspecs/features/qttest_p4.prf +++ /dev/null @@ -1,13 +0,0 @@ -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 -- cgit v1.2.3