all remaining tests: eliminated usage of qttest_p4.prf

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>
This commit is contained in:
Rohan McGovern 2011-10-25 14:42:16 +10:00 committed by Qt by Nokia
parent 6b29e881cd
commit d04bf8f407
152 changed files with 354 additions and 436 deletions

View File

@ -1,5 +1,5 @@
CONFIG += qttest_p4
QT += gui-private
CONFIG += testcase
QT += gui-private testlib
include(../src/src.pri)
win32: CONFIG += console

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT = core core-private
CONFIG += testcase
TARGET = tst_qdbusabstractadaptor
QT = core core-private testlib
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = qmyserver test

View File

@ -1,6 +1,6 @@
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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qdbusabstractinterface
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = qpinger test

View File

@ -1,4 +1,4 @@
load(qttest_p4)
CONFIG += testcase
SOURCES += ../tst_qdbusabstractinterface.cpp ../interface.cpp
HEADERS += ../interface.h
@ -9,5 +9,5 @@ HEADERS += ../pinger.h
TARGET = ../tst_qdbusabstractinterface
QT = core
QT = core testlib
QT += dbus

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbusconnection
QT = core dbus testlib
SOURCES += tst_qdbusconnection.cpp

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbusconnection_no_bus
QT = core dbus testlib
SOURCES += tst_qdbusconnection_no_bus.cpp

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbuscontext
QT = core dbus testlib
SOURCES += tst_qdbuscontext.cpp

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT = core
CONFIG += testcase
TARGET = tst_qdbusinterface
QT = core testlib
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = qmyserver test

View File

@ -1,6 +1,6 @@
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

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbuslocalcalls
QT = core dbus testlib
SOURCES += tst_qdbuslocalcalls.cpp

View File

@ -1,8 +1,9 @@
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))

View File

@ -1,9 +1,8 @@
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

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus-private
CONFIG += testcase
TARGET = tst_qdbusmetaobject
QT = core dbus-private testlib
SOURCES += tst_qdbusmetaobject.cpp

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbusmetatype
QT = core dbus testlib
SOURCES += tst_qdbusmetatype.cpp

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbuspendingcall
QT = core dbus testlib
SOURCES += tst_qdbuspendingcall.cpp
CONFIG+=insignificant_test

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbuspendingreply
QT = core dbus testlib
SOURCES += tst_qdbuspendingreply.cpp

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbusreply
QT = core dbus testlib
SOURCES += tst_qdbusreply.cpp

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbusservicewatcher
QT = core dbus testlib
SOURCES += tst_qdbusservicewatcher.cpp

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core dbus
CONFIG += testcase
TARGET = tst_qdbusthreading
QT = core dbus testlib
SOURCES += tst_qdbusthreading.cpp

View File

@ -1,5 +1,6 @@
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

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT = core-private dbus-private
CONFIG += testcase
TARGET = tst_qdbusxmlparser
QT = core-private dbus-private testlib
SOURCES += tst_qdbusxmlparser.cpp

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_collections
SOURCES += tst_collections.cpp
QT = core
QT = core testlib
CONFIG += parallel_test

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_exceptionsafety
SOURCES += tst_exceptionsafety.cpp
QT = core
QT = core testlib
CONFIG += parallel_test

View File

@ -1,5 +1,6 @@
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

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT += widgets
CONFIG += testcase
TARGET = tst_gestures
QT += widgets testlib
SOURCES += tst_gestures.cpp
CONFIG += insignificant_test # QTBUG-21402

View File

@ -1,5 +1,6 @@
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 \

View File

@ -1,5 +1,6 @@
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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_macgui
TEMPLATE = app
DEPENDPATH += .
INCLUDEPATH += .
@ -7,7 +8,7 @@ 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)

View File

@ -2,12 +2,13 @@
# 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

View File

@ -1,4 +1,4 @@
load(qttest_p4)
CONFIG += testcase
SOURCES += ../tst_macplist.cpp
TARGET = ../tst_macplist

View File

@ -1,5 +1,6 @@
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

View File

@ -1,7 +1,8 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_networkselftest
SOURCES += tst_networkselftest.cpp
QT = core network
QT = core network testlib
wince*: {
addFiles.files = rfc3252.txt

View File

@ -1,6 +1,7 @@
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

View File

@ -1,5 +1,6 @@
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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
QT += testlib
SOURCES = main.cpp
TARGET = runDirectPainter

View File

@ -1,5 +1,5 @@
load(qttest_p4)
QT += widgets
CONFIG += testcase
QT += widgets testlib
SOURCES += ../tst_qdirectpainter.cpp
TARGET = ../tst_qdirectpainter

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT += widgets
CONFIG += testcase
TARGET = tst_qfocusevent
QT += widgets testlib
SOURCES += tst_qfocusevent.cpp

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT += widgets
CONFIG += testcase
TARGET = tst_qmultiscreen
QT += widgets testlib
SOURCES += tst_qmultiscreen.cpp
requires(embedded)

View File

@ -1,3 +1,4 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qnetworkaccessmanager_and_qprogressdialog
SOURCES += tst_qnetworkaccessmanager_and_qprogressdialog.cpp
QT += network widgets
QT += network widgets testlib

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
CONFIG += testcase
TARGET = tst_qsharedpointer_and_qwidget
QT += widgets testlib
SOURCES += tst_qsharedpointer_and_qwidget.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\"

View File

@ -1,6 +1,6 @@
load(qttest_p4)
QT += widgets
CONFIG += testcase
QT += widgets testlib
HEADERS += ddhelper.h
SOURCES += tst_windowsmobile.cpp ddhelper.cpp
RESOURCES += windowsmobile.qrc

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT += network
CONFIG += testcase
TARGET = tst_qabstractnetworkcache
QT += network testlib
QT -= gui
SOURCES += tst_qabstractnetworkcache.cpp

View File

@ -1,8 +1,9 @@
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

View File

@ -1,8 +1,9 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qhttp
SOURCES += tst_qhttp.cpp
QT = core network
QT = core network testlib
wince*: {
webFiles.files = webserver/*

View File

@ -1,8 +1,9 @@
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

View File

@ -1,6 +1,7 @@
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

View File

@ -1,3 +1,4 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qnetworkaccessmanager
SOURCES += tst_qnetworkaccessmanager.cpp
QT = core network
QT = core network testlib

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qnetworkcachemetadata
QT -= gui
QT += network
QT += network testlib
SOURCES += tst_qnetworkcachemetadata.cpp

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qnetworkcookie
SOURCES += tst_qnetworkcookie.cpp
QT = core network
QT = core network testlib

View File

@ -1,4 +1,5 @@
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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qnetworkdiskcache
QT -= gui
QT += network
QT += network testlib
SOURCES += tst_qnetworkdiskcache.cpp

View File

@ -1,4 +1,4 @@
load(qttest_p4)
CONFIG += testcase
QT -= gui
SOURCES += ../tst_qnetworkreply.cpp
TARGET = ../tst_qnetworkreply
@ -15,7 +15,7 @@ win32 {
DEFINES += SRCDIR=\\\"$$PWD/..\\\"
QT = core-private network-private
QT = core-private network-private testlib
RESOURCES += ../qnetworkreply.qrc
wince* {

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qnetworkrequest
SOURCES += tst_qnetworkrequest.cpp
QT = core network
QT = core network testlib

View File

@ -1,8 +1,9 @@
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

View File

@ -1,8 +1,9 @@
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

View File

@ -1,8 +1,8 @@
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) {

View File

@ -1,5 +1,6 @@
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/\\\"

View File

@ -1,8 +1,9 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qhostaddress
SOURCES += tst_qhostaddress.cpp
QT = core network
QT = core network testlib
win32: {
wince*: {

View File

@ -1,8 +1,9 @@
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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qnetworkaddressentry
SOURCES += tst_qnetworkaddressentry.cpp
QT = core network
QT = core network testlib

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qnetworkinterface
SOURCES += tst_qnetworkinterface.cpp
QT = core network
QT = core network testlib

View File

@ -2,7 +2,8 @@
# 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

View File

@ -2,7 +2,8 @@
# 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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_platformsocketengine
SOURCES += tst_platformsocketengine.cpp
include(../platformsocketengine/platformsocketengine.pri)
@ -7,4 +8,4 @@ requires(contains(QT_CONFIG,private_tests))
MOC_DIR=tmp
QT = core-private network-private
QT = core-private network-private testlib

View File

@ -2,8 +2,9 @@
# 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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qhttpsocketengine
SOURCES += tst_qhttpsocketengine.cpp
@ -6,5 +7,5 @@ include(../platformsocketengine/platformsocketengine.pri)
MOC_DIR=tmp
QT = core-private network-private
QT = core-private network-private testlib

View File

@ -1,4 +1,4 @@
load(qttest_p4)
CONFIG += testcase
DEFINES += QLOCALSERVER_DEBUG
DEFINES += QLOCALSOCKET_DEBUG
@ -10,7 +10,7 @@ wince* {
DEFINES += SRCDIR=\\\"$$PWD/../\\\"
}
QT = core network
QT = core network testlib
SOURCES += ../tst_qlocalsocket.cpp

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qsocks5socketengine
SOURCES += tst_qsocks5socketengine.cpp
@ -7,6 +8,6 @@ include(../platformsocketengine/platformsocketengine.pri)
MOC_DIR=tmp
QT = core-private network-private
QT = core-private network-private testlib
requires(contains(QT_CONFIG,private_tests))

View File

@ -1,4 +1,4 @@
load(qttest_p4)
CONFIG += testcase
SOURCES += ../tst_qtcpserver.cpp
win32: {
@ -22,7 +22,7 @@ win32 {
}
}
QT = core network
QT = core network testlib
MOC_DIR=tmp

View File

@ -1,6 +1,6 @@
load(qttest_p4)
CONFIG += testcase
QT += widgets
QT += widgets testlib
QT += core-private network-private
SOURCES += ../tst_qtcpsocket.cpp
win32: {

View File

@ -1,6 +1,6 @@
load(qttest_p4)
CONFIG += testcase
SOURCES += ../tst_qudpsocket.cpp
QT = core network
QT = core network testlib
MOC_DIR=tmp

View File

@ -1,8 +1,8 @@
load(qttest_p4)
CONFIG += testcase
SOURCES += tst_qsslcertificate.cpp
!wince*:win32:LIBS += -lws2_32
QT = core network
QT = core network testlib
TARGET = tst_qsslcertificate

View File

@ -1,8 +1,8 @@
load(qttest_p4)
CONFIG += testcase
SOURCES += tst_qsslcipher.cpp
!wince*:win32:LIBS += -lws2_32
QT = core network
QT = core network testlib
TARGET = tst_qsslcipher

View File

@ -1,8 +1,8 @@
load(qttest_p4)
CONFIG += testcase
SOURCES += tst_qsslerror.cpp
!wince*:win32:LIBS += -lws2_32
QT = core network
QT = core network testlib
TARGET = tst_qsslerror

View File

@ -1,8 +1,8 @@
load(qttest_p4)
CONFIG += testcase
SOURCES += tst_qsslkey.cpp
!wince*:win32:LIBS += -lws2_32
QT = core network
QT = core network testlib
TARGET = tst_qsslkey

View File

@ -1,8 +1,8 @@
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

View File

@ -2,9 +2,10 @@
# 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

View File

@ -2,9 +2,10 @@
# 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

View File

@ -1,6 +1,7 @@
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

View File

@ -1,6 +1,7 @@
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

View File

@ -7,13 +7,13 @@ TEMPLATE = app
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

View File

@ -1,7 +1,8 @@
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

View File

@ -1,6 +1,7 @@
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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qtokenautomaton
SOURCES += tst_qtokenautomaton.cpp \
tokenizers/basic/basic.cpp \
tokenizers/basicNamespace/basicNamespace.cpp \
@ -14,5 +15,5 @@ HEADERS += tokenizers/basic/basic.h \
tokenizers/noToString/noToString.h \
tokenizers/withNamespace/withNamespace.h
QT -= gui
QT = core testlib
CONFIG += parallel_test

View File

@ -1,8 +1,9 @@
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

View File

@ -1,6 +1,7 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qobjectperformance
SOURCES += tst_qobjectperformance.cpp
QT = core network
QT = core network testlib

View File

@ -1,6 +1,7 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qscreen
QT += core-private gui-private
QT += core-private gui-private testlib
SOURCES += tst_qscreen.cpp

View File

@ -1,8 +1,8 @@
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

View File

@ -1,8 +1,8 @@
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

View File

@ -1,6 +1,7 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qwindow
QT += core-private gui-private
QT += core-private gui-private testlib
SOURCES += tst_qwindow.cpp

View File

@ -1,7 +1,8 @@
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

View File

@ -1,7 +1,8 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qsqldatabase
SOURCES += tst_qsqldatabase.cpp
QT = core sql
QT = core sql testlib
win32: {
!wince*: LIBS += -lws2_32

View File

@ -1,7 +1,8 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qsqldriver
SOURCES += tst_qsqldriver.cpp
QT = core sql
QT = core sql testlib
wince*: {
plugFiles.files = ../../../plugins/sqldrivers

View File

@ -2,7 +2,8 @@
# 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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qsqlfield
SOURCES += tst_qsqlfield.cpp
QT = core sql
QT = core sql testlib

View File

@ -1,4 +1,5 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qsqlrecord
SOURCES += tst_qsqlrecord.cpp
QT = core sql
QT = core sql testlib

View File

@ -1,7 +1,8 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qsqlthread
SOURCES += tst_qsqlthread.cpp
QT = core sql
QT = core sql testlib
wince*: {

View File

@ -1,7 +1,8 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qsqlquerymodel
SOURCES += tst_qsqlquerymodel.cpp
QT += widgets sql
QT += widgets sql testlib
wince*: {
DEPLOYMENT_PLUGIN += qsqlite

View File

@ -1,7 +1,8 @@
load(qttest_p4)
CONFIG += testcase
TARGET = tst_qsqlrelationaltablemodel
SOURCES += tst_qsqlrelationaltablemodel.cpp
QT = core sql
QT = core sql testlib
wince*: {
plugFiles.files = ../../../plugins/sqldrivers

Some files were not shown because too many files have changed in this diff Show More