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 <rohan.mcgovern@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
Sergio Ahumada 2012-01-04 22:21:48 +01:00 committed by Qt by Nokia
parent 41af951eef
commit c9ee64d8b7
2 changed files with 4 additions and 13 deletions

4
dist/changes-5.0.0 vendored
View File

@ -260,6 +260,10 @@ Qt for Windows CE
- Build System
* Remove qttest_p4.prf file. From now on we should explicitly enable the
things from it which we want. Autotest .pro files should stop using
'load(qttest_p4)' and start using 'CONFIG+=testcase' instead.
- Assistant
- Designer

View File

@ -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