tests: Make the QT assignments more explicit

Remove unused 'QT -= gui' and replace some others with
'QT = core ...'

Change-Id: I2d14fae963afc21dbd21a4acdbba2c30cdf8fa61
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
bb10
Sergio Ahumada 2013-08-18 18:32:00 +02:00 committed by The Qt Project
parent bc4ce284ad
commit 7978cef796
16 changed files with 15 additions and 32 deletions

View File

@ -1,7 +1,7 @@
CONFIG -= app_bundle debug_and_release
CONFIG += console
DESTDIR = ./
QT -= gui
QT = core
wince*: {
LIBS += coredll.lib
}

View File

@ -1,4 +1,4 @@
QT -= gui
QT = core
TEMPLATE = subdirs
CONFIG += ordered

View File

@ -1,7 +1,6 @@
SOURCES = qmyserver.cpp
HEADERS = ../myobject.h
TARGET = qmyserver
QT += dbus
QT -= gui
QT = core dbus
CONFIG -= app_bundle
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -1,6 +1,5 @@
SOURCES = qpinger.cpp ../interface.cpp
HEADERS = ../interface.h
TARGET = qpinger
QT += dbus
QT -= gui
QT = core dbus
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -1,7 +1,6 @@
SOURCES = qmyserver.cpp
HEADERS = ../myobject.h
TARGET = qmyserver
QT += dbus
QT -= gui
QT = core dbus
CONFIG -= app_bundle
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -1,7 +1,5 @@
SOURCES = qpong.cpp
TARGET = qpong
QT += dbus
QT -= gui
QT = core dbus
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -1,8 +1,7 @@
CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qabstractnetworkcache
QT += network testlib
QT -= gui
QT = core network testlib
SOURCES += tst_qabstractnetworkcache.cpp
TESTDATA += tests/*

View File

@ -1,7 +1,6 @@
CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qnetworkcachemetadata
QT -= gui
QT += network testlib
QT = core network testlib
SOURCES += tst_qnetworkcachemetadata.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -1,7 +1,6 @@
CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qnetworkdiskcache
QT -= gui
QT += network testlib
QT = core network testlib
SOURCES += tst_qnetworkdiskcache.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,8 +2,7 @@ CONFIG += testcase
SOURCES += tst_qsslsocket.cpp
!wince*:win32:LIBS += -lws2_32
QT += core-private network-private testlib
QT -= gui
QT = core core-private network-private testlib
TARGET = tst_qsslsocket

View File

@ -4,8 +4,7 @@ testcase.timeout = 300 # this test is slow
SOURCES += tst_qsslsocket_onDemandCertificates_member.cpp
!wince*:win32:LIBS += -lws2_32
QT += core-private network-private testlib
QT -= gui
QT = core core-private network-private testlib
TARGET = tst_qsslsocket_onDemandCertificates_member

View File

@ -3,8 +3,7 @@ CONFIG += parallel_test
SOURCES += tst_qsslsocket_onDemandCertificates_static.cpp
!wince*:win32:LIBS += -lws2_32
QT += core-private network-private testlib
QT -= gui
QT = core core-private network-private testlib
TARGET = tst_qsslsocket_onDemandCertificates_static

View File

@ -29,8 +29,7 @@ if(*-g++*|*-icc*|*-clang*|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h wi
if(*-g++*|*-clang*): HEADERS += dollars.h
SOURCES += tst_moc.cpp
QT -= gui
QT += sql network testlib
QT = core sql network testlib
qtHaveModule(dbus) {
DEFINES += WITH_DBUS
QT += dbus

View File

@ -3,7 +3,6 @@ TARGET = tst_qdom
SOURCES += tst_qdom.cpp
QT = core xml testlib
QT -= gui
wince* {
wince*|qt_not_deployed {

View File

@ -1,7 +1,4 @@
CONFIG += testcase
TARGET = tst_qxmlinputsource
SOURCES += tst_qxmlinputsource.cpp
QT += core xml network testlib
QT -= gui
QT = core xml network testlib

View File

@ -6,7 +6,6 @@ HEADERS += parser/parser.h
SOURCES += tst_qxmlsimplereader.cpp parser/parser.cpp
CONFIG += no_batch
QT += network xml testlib
QT -= gui
QT = core network xml testlib
TESTDATA += encodings/* xmldocs/*