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.
Change-Id: Ie775d011e6f63d4d174c2be78cda138d7bbe85ff
Reviewed-on: http://codereview.qt-project.org/6186
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
-load(qttest_p4)
+TARGET = tst_tests
+CONFIG += testcase
-QT += xml
+QT += xml testlib
HEADERS += \
tst_linguist.h \
-load(qttest_p4)
+TARGET = tst_headersclean
+CONFIG += testcase
SOURCES += tst_headersclean.cpp
-QT = core
-QT += designer help
+QT = core designer help testlib
-CONFIG += qttest_p4
+CONFIG += testcase
+QT += testlib
TARGET = tst_lconvert
-CONFIG += qttest_p4
-CONFIG -= gui
+CONFIG += testcase
+QT = core testlib
TARGET = tst_lrelease
SOURCES += tst_lrelease.cpp
-CONFIG += qttest_p4
+CONFIG += testcase
+QT += testlib
+
# June 2011: Marked as unstable due to tst_lupdate::good(heuristics) failing
# due to changes in qtbase/mkspecs/features/qt_config.prf.
CONFIG+=insignificant_test
-load(qttest_p4)
+TARGET = tst_qhelpcontentmodel
+CONFIG += testcase
+QT += testlib
SOURCES += tst_qhelpcontentmodel.cpp
CONFIG += help
-load(qttest_p4)
+TARGET = tst_qhelpenginecore
+CONFIG += testcase
SOURCES += tst_qhelpenginecore.cpp
CONFIG += help
-QT += sql
+QT += sql testlib
DEFINES += QT_USE_USING_NAMESPACE
-load(qttest_p4)
+TARGET = tst_qhelpgenerator
+CONFIG += testcase
SOURCES += tst_qhelpgenerator.cpp
CONFIG += help
-QT += sql
+QT += sql testlib
DEFINES += SRCDIR=\\\"$$PWD\\\"
DEFINES += QT_USE_USING_NAMESPACE
-load(qttest_p4)
+TARGET = tst_qhelpindexmodel
+CONFIG += testcase
SOURCES += tst_qhelpindexmodel.cpp
CONFIG += help
-QT += sql
+QT += sql testlib
DEFINES += SRCDIR=\\\"$$PWD\\\"
DEFINES += QT_USE_USING_NAMESPACE
-load(qttest_p4)
+TARGET = tst_qhelpprojectdata
+CONFIG += testcase
SOURCES += tst_qhelpprojectdata.cpp
CONFIG += help
+QT += testlib
DEFINES += SRCDIR=\\\"$$PWD\\\"
DEFINES += QT_USE_USING_NAMESPACE
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
!embedded:CONFIG += uitools
}
}
-QT += widgets network
+QT += widgets network testlib
wince*|symbian: {
configuration.files = ../*.ini