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: I02fe27b2c1800f929250fa8694ca2976c9661a12
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
-CONFIG += qttest_p4
-QT += gui-private
+CONFIG += testcase
+QT += gui-private testlib
include(../src/src.pri)
win32: CONFIG += console
-load(qttest_p4)
-QT = core core-private
+CONFIG += testcase
+TARGET = tst_qdbusabstractadaptor
+QT = core core-private testlib
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = qmyserver test
-load(qttest_p4)
+CONFIG += testcase
SOURCES += ../tst_qdbusabstractadaptor.cpp
HEADERS += ../myobject.h
TARGET = ../tst_qdbusabstractadaptor
-QT = core core-private dbus
+QT = core core-private dbus testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qdbusabstractinterface
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = qpinger test
-load(qttest_p4)
+CONFIG += testcase
SOURCES += ../tst_qdbusabstractinterface.cpp ../interface.cpp
HEADERS += ../interface.h
TARGET = ../tst_qdbusabstractinterface
-QT = core
+QT = core testlib
QT += dbus
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbusconnection
+QT = core dbus testlib
SOURCES += tst_qdbusconnection.cpp
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbusconnection_no_bus
+QT = core dbus testlib
SOURCES += tst_qdbusconnection_no_bus.cpp
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbuscontext
+QT = core dbus testlib
SOURCES += tst_qdbuscontext.cpp
-load(qttest_p4)
-QT = core
+CONFIG += testcase
+TARGET = tst_qdbusinterface
+QT = core testlib
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = qmyserver test
-load(qttest_p4)
+CONFIG += testcase
SOURCES += ../tst_qdbusinterface.cpp
HEADERS += ../myobject.h
TARGET = ../tst_qdbusinterface
-QT = core core-private dbus
+QT = core core-private dbus testlib
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbuslocalcalls
+QT = core dbus testlib
SOURCES += tst_qdbuslocalcalls.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qdbusmarshall
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = qpong test
-QT += core-private
+QT += core-private testlib
requires(contains(QT_CONFIG,private_tests))
-load(qttest_p4)
+CONFIG += testcase
SOURCES += ../tst_qdbusmarshall.cpp
TARGET = ../tst_qdbusmarshall
-QT = core
-QT += core-private dbus-private
+QT = core-private dbus-private testlib
LIBS += $$QT_LIBS_DBUS
QMAKE_CXXFLAGS += $$QT_CFLAGS_DBUS
-load(qttest_p4)
-QT = core dbus-private
+CONFIG += testcase
+TARGET = tst_qdbusmetaobject
+QT = core dbus-private testlib
SOURCES += tst_qdbusmetaobject.cpp
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbusmetatype
+QT = core dbus testlib
SOURCES += tst_qdbusmetatype.cpp
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbuspendingcall
+QT = core dbus testlib
SOURCES += tst_qdbuspendingcall.cpp
CONFIG+=insignificant_test
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbuspendingreply
+QT = core dbus testlib
SOURCES += tst_qdbuspendingreply.cpp
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbusreply
+QT = core dbus testlib
SOURCES += tst_qdbusreply.cpp
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbusservicewatcher
+QT = core dbus testlib
SOURCES += tst_qdbusservicewatcher.cpp
-load(qttest_p4)
-QT = core dbus
+CONFIG += testcase
+TARGET = tst_qdbusthreading
+QT = core dbus testlib
SOURCES += tst_qdbusthreading.cpp
-load(qttest_p4)
-QT = core-private dbus-private
+CONFIG += testcase
+TARGET = tst_qdbustype
+QT = core-private dbus-private testlib
SOURCES += tst_qdbustype.cpp
QMAKE_CXXFLAGS += $$QT_CFLAGS_DBUS
LIBS_PRIVATE += $$QT_LIBS_DBUS
-load(qttest_p4)
-QT = core-private dbus-private
+CONFIG += testcase
+TARGET = tst_qdbusxmlparser
+QT = core-private dbus-private testlib
SOURCES += tst_qdbusxmlparser.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_collections
SOURCES += tst_collections.cpp
-QT = core
+QT = core testlib
CONFIG += parallel_test
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_exceptionsafety
SOURCES += tst_exceptionsafety.cpp
-QT = core
+QT = core testlib
CONFIG += parallel_test
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_exceptionsafety_objects
+QT += widgets testlib
HEADERS += oomsimulator.h 3rdparty/valgrind.h 3rdparty/memcheck.h
SOURCES += tst_exceptionsafety_objects.cpp
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_gestures
+QT += widgets testlib
SOURCES += tst_gestures.cpp
CONFIG += insignificant_test # QTBUG-21402
-load(qttest_p4)
-QT += xml widgets
+CONFIG += testcase
+TARGET = tst_lancelot
+QT += xml widgets testlib
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2):QT += opengl
SOURCES += tst_lancelot.cpp \
-load(qttest_p4)
-QT += widgets core-private
+CONFIG += testcase
+TARGET = tst_languagechange
+QT += widgets core-private testlib
SOURCES += tst_languagechange.cpp
CONFIG += insignificant_test # QTBUG-21402
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_macgui
TEMPLATE = app
DEPENDPATH += .
INCLUDEPATH += .
SOURCES += tst_macgui.cpp guitest.cpp
HEADERS += guitest.h
-QT = core-private gui-private widgets
+QT = core-private gui-private widgets testlib
requires(mac)
# Automatically generated by qmake (2.01a) Wed Nov 29 22:24:47 2006
######################################################################
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_macnativeevents
TEMPLATE = app
DEPENDPATH += .
INCLUDEPATH += .
LIBS += -framework Carbon
-QT += widgets
+QT += widgets testlib
HEADERS += qnativeevents.h nativeeventlist.h expectedeventlist.h
SOURCES += qnativeevents.cpp qnativeevents_mac.cpp
SOURCES += expectedeventlist.cpp nativeeventlist.cpp
-load(qttest_p4)
+CONFIG += testcase
SOURCES += ../tst_macplist.cpp
TARGET = ../tst_macplist
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_modeltest
+QT += widgets testlib
SOURCES += tst_modeltest.cpp modeltest.cpp dynamictreemodel.cpp
HEADERS += modeltest.h dynamictreemodel.h
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_networkselftest
SOURCES += tst_networkselftest.cpp
-QT = core network
+QT = core network testlib
wince*: {
addFiles.files = rfc3252.txt
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qaccessibility
requires(contains(QT_CONFIG,accessibility))
-QT += widgets
+QT += widgets testlib
SOURCES += tst_qaccessibility.cpp
unix:!mac:LIBS+=-lm
-load(qttest_p4)
-QT += widgets widgets-private
+CONFIG += testcase
+TARGET = tst_qcomplextext
+QT += widgets widgets-private testlib
QT += core-private gui-private
SOURCES += tst_qcomplextext.cpp
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src
-load(qttest_p4)
+CONFIG += testcase
+QT += testlib
SOURCES = main.cpp
TARGET = runDirectPainter
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+QT += widgets testlib
SOURCES += ../tst_qdirectpainter.cpp
TARGET = ../tst_qdirectpainter
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qfocusevent
+QT += widgets testlib
SOURCES += tst_qfocusevent.cpp
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qmultiscreen
+QT += widgets testlib
SOURCES += tst_qmultiscreen.cpp
requires(embedded)
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkaccessmanager_and_qprogressdialog
SOURCES += tst_qnetworkaccessmanager_and_qprogressdialog.cpp
-QT += network widgets
+QT += network widgets testlib
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qsharedpointer_and_qwidget
+QT += widgets testlib
SOURCES += tst_qsharedpointer_and_qwidget.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\"
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+QT += widgets testlib
HEADERS += ddhelper.h
SOURCES += tst_windowsmobile.cpp ddhelper.cpp
RESOURCES += windowsmobile.qrc
-load(qttest_p4)
-QT += network
+CONFIG += testcase
+TARGET = tst_qabstractnetworkcache
+QT += network testlib
QT -= gui
SOURCES += tst_qabstractnetworkcache.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qftp
SOURCES += tst_qftp.cpp
-QT = core network network-private
+QT = core network network-private testlib
wince*: {
addFiles.files = rfc3252.txt
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qhttp
SOURCES += tst_qhttp.cpp
-QT = core network
+QT = core network testlib
wince*: {
webFiles.files = webserver/*
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qhttpnetworkconnection
SOURCES += tst_qhttpnetworkconnection.cpp
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib
requires(contains(QT_CONFIG,private_tests))
-QT = core-private network-private
+QT = core-private network-private testlib
CONFIG+=insignificant_test # QTBUG-20981, crashes sometimes
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qhttpnetworkreply
SOURCES += tst_qhttpnetworkreply.cpp
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib
requires(contains(QT_CONFIG,private_tests))
-QT = core-private network-private
+QT = core-private network-private testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkaccessmanager
SOURCES += tst_qnetworkaccessmanager.cpp
-QT = core network
+QT = core network testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkcachemetadata
QT -= gui
-QT += network
+QT += network testlib
SOURCES += tst_qnetworkcachemetadata.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkcookie
SOURCES += tst_qnetworkcookie.cpp
-QT = core network
+QT = core network testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkcookiejar
SOURCES += tst_qnetworkcookiejar.cpp
-QT = core core-private network network-private
+QT = core core-private network network-private testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkdiskcache
QT -= gui
-QT += network
+QT += network testlib
SOURCES += tst_qnetworkdiskcache.cpp
-load(qttest_p4)
+CONFIG += testcase
QT -= gui
SOURCES += ../tst_qnetworkreply.cpp
TARGET = ../tst_qnetworkreply
DEFINES += SRCDIR=\\\"$$PWD/..\\\"
-QT = core-private network-private
+QT = core-private network-private testlib
RESOURCES += ../qnetworkreply.qrc
wince* {
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkrequest
SOURCES += tst_qnetworkrequest.cpp
-QT = core network
+QT = core network testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkconfiguration
SOURCES += tst_qnetworkconfiguration.cpp
HEADERS += ../qbearertestcommon.h
-QT = core network
+QT = core network testlib
maemo6|maemo5 {
CONFIG += link_pkgconfig
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkconfigurationmanager
SOURCES += tst_qnetworkconfigurationmanager.cpp
HEADERS += ../qbearertestcommon.h
-QT = core network
+QT = core network testlib
maemo6|maemo5 {
CONFIG += link_pkgconfig
-load(qttest_p4)
+CONFIG += testcase
SOURCES += tst_qnetworksession.cpp
HEADERS += ../../qbearertestcommon.h
-QT = core network
+QT = core network testlib
TARGET = tst_qnetworksession
CONFIG(debug_and_release) {
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qauthenticator
requires(contains(QT_CONFIG,private_tests))
-QT = core network-private
+QT = core network-private testlib
SOURCES += tst_qauthenticator.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\"
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qhostaddress
SOURCES += tst_qhostaddress.cpp
-QT = core network
+QT = core network testlib
win32: {
wince*: {
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qhostinfo
SOURCES += tst_qhostinfo.cpp
-QT = core-private network-private
+QT = core-private network-private testlib
wince*: {
LIBS += ws2.lib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkaddressentry
SOURCES += tst_qnetworkaddressentry.cpp
-QT = core network
+QT = core network testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkinterface
SOURCES += tst_qnetworkinterface.cpp
-QT = core network
+QT = core network testlib
# Project file for autotest for file qnetworkproxy.h
############################################################
-load(qttest_p4)
-QT = core network
+CONFIG += testcase
+TARGET = tst_qnetworkproxy
+QT = core network testlib
SOURCES += tst_qnetworkproxy.cpp
# Project file for autotest for file qnetworkproxy.h (proxy factory part)
############################################################
-load(qttest_p4)
-QT = core network
+CONFIG += testcase
+TARGET = tst_qnetworkproxyfactory
+QT = core network testlib
SOURCES += tst_qnetworkproxyfactory.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_platformsocketengine
SOURCES += tst_platformsocketengine.cpp
include(../platformsocketengine/platformsocketengine.pri)
MOC_DIR=tmp
-QT = core-private network-private
+QT = core-private network-private testlib
# Project file for autotest for file qabstractsocket.h
############################################################
-load(qttest_p4)
-QT = core network
+CONFIG += testcase
+TARGET = tst_qabstractsocket
+QT = core network testlib
SOURCES += tst_qabstractsocket.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qhttpsocketengine
SOURCES += tst_qhttpsocketengine.cpp
MOC_DIR=tmp
-QT = core-private network-private
+QT = core-private network-private testlib
-load(qttest_p4)
+CONFIG += testcase
DEFINES += QLOCALSERVER_DEBUG
DEFINES += QLOCALSOCKET_DEBUG
DEFINES += SRCDIR=\\\"$$PWD/../\\\"
}
-QT = core network
+QT = core network testlib
SOURCES += ../tst_qlocalsocket.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsocks5socketengine
SOURCES += tst_qsocks5socketengine.cpp
MOC_DIR=tmp
-QT = core-private network-private
+QT = core-private network-private testlib
requires(contains(QT_CONFIG,private_tests))
-load(qttest_p4)
+CONFIG += testcase
SOURCES += ../tst_qtcpserver.cpp
win32: {
}
}
-QT = core network
+QT = core network testlib
MOC_DIR=tmp
-load(qttest_p4)
+CONFIG += testcase
-QT += widgets
+QT += widgets testlib
QT += core-private network-private
SOURCES += ../tst_qtcpsocket.cpp
win32: {
-load(qttest_p4)
+CONFIG += testcase
SOURCES += ../tst_qudpsocket.cpp
-QT = core network
+QT = core network testlib
MOC_DIR=tmp
-load(qttest_p4)
+CONFIG += testcase
SOURCES += tst_qsslcertificate.cpp
!wince*:win32:LIBS += -lws2_32
-QT = core network
+QT = core network testlib
TARGET = tst_qsslcertificate
-load(qttest_p4)
+CONFIG += testcase
SOURCES += tst_qsslcipher.cpp
!wince*:win32:LIBS += -lws2_32
-QT = core network
+QT = core network testlib
TARGET = tst_qsslcipher
-load(qttest_p4)
+CONFIG += testcase
SOURCES += tst_qsslerror.cpp
!wince*:win32:LIBS += -lws2_32
-QT = core network
+QT = core network testlib
TARGET = tst_qsslerror
-load(qttest_p4)
+CONFIG += testcase
SOURCES += tst_qsslkey.cpp
!wince*:win32:LIBS += -lws2_32
-QT = core network
+QT = core network testlib
TARGET = tst_qsslkey
-load(qttest_p4)
+CONFIG += testcase
SOURCES += tst_qsslsocket.cpp
!wince*:win32:LIBS += -lws2_32
-QT += core-private network-private
+QT += core-private network-private testlib
QT -= gui
TARGET = tst_qsslsocket
# Project file for autotest for file qgl.h
############################################################
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qgl
requires(contains(QT_CONFIG,opengl))
-QT += widgets widgets-private opengl-private gui-private core-private
+QT += widgets widgets-private opengl-private gui-private core-private testlib
contains(QT_CONFIG,egl):DEFINES += QGL_EGL
win32:!wince*: DEFINES += QT_NO_EGL
# Project file for autotest for file qglbuffer.h
############################################################
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qglbuffer
requires(contains(QT_CONFIG,opengl))
-QT += opengl widgets
+QT += opengl widgets testlib
win32:!wince*: DEFINES += QT_NO_EGL
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qglfunctions
requires(contains(QT_CONFIG,opengl))
-QT += opengl widgets
+QT += opengl widgets testlib
win32:!wince*: DEFINES += QT_NO_EGL
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qglthreads
requires(contains(QT_CONFIG,opengl))
-QT += opengl widgets
+QT += opengl widgets testlib
win32:!wince*: DEFINES += QT_NO_EGL
INCLUDEPATH += $$ARTHUR
DEFINES += SRCDIR=\\\"$$PWD\\\"
-QT += xml svg network
+QT += xml svg network testlib
contains(QT_CONFIG, opengl):QT += opengl
include($$ARTHUR/datagenerator/datagenerator.pri)
-load(qttest_p4)
+CONFIG += testcase
# Input
HEADERS += atWrapper.h
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_compiler
SOURCES += tst_compiler.cpp baseclass.cpp derivedclass.cpp
HEADERS += baseclass.h derivedclass.h
-QT = core
+QT = core testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_headersclean
SOURCES += tst_headersclean.cpp
-QT = core network xml sql
+QT = core network xml sql testlib
contains(QT_CONFIG,dbus): QT += dbus
contains(QT_CONFIG,opengl): QT += opengl
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qtokenautomaton
SOURCES += tst_qtokenautomaton.cpp \
tokenizers/basic/basic.cpp \
tokenizers/basicNamespace/basicNamespace.cpp \
tokenizers/noToString/noToString.h \
tokenizers/withNamespace/withNamespace.h
-QT -= gui
+QT = core testlib
CONFIG += parallel_test
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qmetaobjectbuilder
macx:CONFIG -= app_bundle
SOURCES += \
tst_qmetaobjectbuilder.cpp
CONFIG += parallel_test
-QT += core-private gui-private
+QT += core-private gui-private testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qobjectperformance
SOURCES += tst_qobjectperformance.cpp
-QT = core network
+QT = core network testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qscreen
-QT += core-private gui-private
+QT += core-private gui-private testlib
SOURCES += tst_qscreen.cpp
-load(qttest_p4)
+CONFIG += testcase
SOURCES += tst_qsslsocket_onDemandCertificates_member.cpp
!wince*:win32:LIBS += -lws2_32
-QT += core-private network-private
+QT += core-private network-private testlib
QT -= gui
TARGET = tst_qsslsocket_onDemandCertificates_member
-load(qttest_p4)
+CONFIG += testcase
SOURCES += tst_qsslsocket_onDemandCertificates_static.cpp
!wince*:win32:LIBS += -lws2_32
-QT += core-private network-private
+QT += core-private network-private testlib
QT -= gui
TARGET = tst_qsslsocket_onDemandCertificates_static
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qwindow
-QT += core-private gui-private
+QT += core-private gui-private testlib
SOURCES += tst_qwindow.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsql
SOURCES += tst_qsql.cpp
-QT += sql sql-private gui widgets
+QT += sql sql-private gui widgets testlib
wince*: {
DEPLOYMENT_PLUGIN += qsqlite
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsqldatabase
SOURCES += tst_qsqldatabase.cpp
-QT = core sql
+QT = core sql testlib
win32: {
!wince*: LIBS += -lws2_32
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsqldriver
SOURCES += tst_qsqldriver.cpp
-QT = core sql
+QT = core sql testlib
wince*: {
plugFiles.files = ../../../plugins/sqldrivers
# Project file for autotest for file qsqlerror.h
############################################################
-load(qttest_p4)
-QT = core sql
+CONFIG += testcase
+TARGET = tst_qsqlerror
+QT = core sql testlib
SOURCES += tst_qsqlerror.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsqlfield
SOURCES += tst_qsqlfield.cpp
-QT = core sql
+QT = core sql testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsqlrecord
SOURCES += tst_qsqlrecord.cpp
-QT = core sql
+QT = core sql testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsqlthread
SOURCES += tst_qsqlthread.cpp
-QT = core sql
+QT = core sql testlib
wince*: {
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsqlquerymodel
SOURCES += tst_qsqlquerymodel.cpp
-QT += widgets sql
+QT += widgets sql testlib
wince*: {
DEPLOYMENT_PLUGIN += qsqlite
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsqlrelationaltablemodel
SOURCES += tst_qsqlrelationaltablemodel.cpp
-QT = core sql
+QT = core sql testlib
wince*: {
plugFiles.files = ../../../plugins/sqldrivers
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsqltablemodel
SOURCES += tst_qsqltablemodel.cpp
-QT = core sql
+QT = core sql testlib
wince*: {
plugFiles.files = ../../../plugins/sqldrivers
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsignalspy
SOURCES += tst_qsignalspy.cpp
-QT = core
+QT = core testlib
CONFIG += parallel_test
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_alive.cpp
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_assert.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_badxml.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_benchlibcallgrind.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_benchlibeventcounter.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_benchliboptions.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_benchlibtickcounter.cpp
QT = core testlib-private
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_benchlibwalltime.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_cmptest.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_commandlinedata.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_crashes.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_datatable.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_datetime.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_differentexec.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_exceptionthrow.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_expectfail.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_failinit.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_failinitdata.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_fetchbogus.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_float.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_globaldata.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_longstring.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += maxwarnings.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_multiexec.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_qexecstringlist.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_singleskip.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_skip.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_skipinit.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_skipinitdata.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_sleep.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_strcmp.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_subtest.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
+CONFIG += testcase
SOURCES += ../tst_selftests.cpp
QT = core xml testlib-private
-load(qttest_p4)
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
SOURCES += tst_warnings.cpp
-QT = core
+QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-load(qttest_p4)
-QT = core
-
-# this is not a real testcase ('make check' should not run it)
-CONFIG -= testcase
-
+QT = core testlib
SOURCES += tst_xunit.cpp
mac:CONFIG -= app_bundle
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_moc
#exists(/usr/include/boost/spirit.hpp) {
# message("including boost headers in test")
SOURCES += tst_moc.cpp
QT -= gui
-QT += sql network
+QT += sql network testlib
contains(QT_CONFIG, dbus){
DEFINES += WITH_DBUS
QT += dbus
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qmake
HEADERS += testcompiler.h
SOURCES += tst_qmake.cpp testcompiler.cpp
-QT -= gui
+QT = core testlib
cross_compile: DEFINES += QMAKE_CROSS_COMPILED
-CONFIG += qttest_p4
-
-QT = core
+CONFIG += testcase
+QT = core testlib
TARGET = tst_rcc
SOURCES += tst_rcc.cpp
-load(qttest_p4)
+CONFIG += testcase
-QT = core
+QT = core testlib
SOURCES += tst_uic.cpp
TARGET = tst_uic
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_v8
macx:CONFIG -= app_bundle
SOURCES += tst_v8.cpp v8test.cpp
CONFIG += parallel_test
-QT = core v8-private
+QT = core v8-private testlib
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qdom
SOURCES += tst_qdom.cpp
-QT = core xml
+QT = core xml testlib
QT -= gui
wince* {
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qxml
SOURCES += tst_qxml.cpp
-QT = core xml
+QT = core xml testlib
wince* {
addFiles.files = 0x010D.xml
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qxmlinputsource
SOURCES += tst_qxmlinputsource.cpp
-QT += core xml network
+QT += core xml network testlib
QT -= gui
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qxmlsimplereader
TEMPLATE = app
DEPENDPATH += parser
INCLUDEPATH += . parser
SOURCES += tst_qxmlsimplereader.cpp parser/parser.cpp
CONFIG += no_batch
-QT += network xml
+QT += network xml testlib
QT -= gui
wince* {
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_network_remote_stresstest
-QT = core network
+QT = core network testlib
SOURCES += tst_network_remote_stresstest.cpp
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_network_stresstest
-QT = core network
+QT = core network testlib
SOURCES += tst_network_stresstest.cpp \
minihttpserver.cpp
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_qhttpnetworkconnection
DEPENDPATH += .
INCLUDEPATH += .
QT -= gui
-QT += network
+QT += network testlib
CONFIG += release
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_qnetworkreply
DEPENDPATH += .
INCLUDEPATH += .
QT -= gui
-QT += network
+QT += network testlib
CONFIG += release
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_qssloptions
DEPENDPATH += .
INCLUDEPATH += .
QT -= gui
-QT += network
+QT += network testlib
#CONFIG += release
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_socketengine
DEPENDPATH += .
INCLUDEPATH += .
QT -= gui
-QT += network
+QT += network testlib
CONFIG += release