Drop unnecessary dependencies from some tests

The future tests don't need QtConcurrent as QFuture and friends are in
QtCore. The printdevice test doesn't use QtNetwork and the lancelot as
well as the testlib tests don't use QtXml.

Change-Id: I150ac99b36682aa23ad22ba943266eb0f0952838
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
bb10
Ulf Hermann 2017-01-09 11:24:50 +01:00
parent 0dc85f7808
commit 0979c5304c
7 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
CONFIG += testcase
TARGET = tst_qfuture
QT = core core-private testlib concurrent
QT = core core-private testlib
SOURCES = tst_qfuture.cpp
DEFINES += QT_STRICT_ITERATORS

View File

@ -1,4 +1,4 @@
CONFIG += testcase
TARGET = tst_qfuturesynchronizer
QT = core testlib concurrent
QT = core testlib
SOURCES = tst_qfuturesynchronizer.cpp

View File

@ -1,5 +1,5 @@
CONFIG += testcase
TARGET = tst_qresultstore
QT = core-private testlib concurrent
QT = core-private testlib
SOURCES = tst_qresultstore.cpp
DEFINES += QT_STRICT_ITERATORS

View File

@ -1,7 +1,7 @@
CONFIG += testcase
CONFIG -= app_bundle
TARGET = tst_lancelot
QT += xml testlib
QT += testlib
SOURCES += tst_lancelot.cpp \
paintcommands.cpp

View File

@ -2,6 +2,6 @@ CONFIG += testcase
TARGET = tst_qprintdevice
SOURCES += tst_qprintdevice.cpp
QT += printsupport-private network testlib
QT += printsupport-private testlib
DEFINES += QT_USE_USING_NAMESPACE

View File

@ -2,6 +2,6 @@ CONFIG += testcase
TARGET = tst_qprinterinfo
SOURCES += tst_qprinterinfo.cpp
QT += printsupport network testlib
QT += printsupport testlib
DEFINES += QT_USE_USING_NAMESPACE

View File

@ -1,6 +1,6 @@
CONFIG += testcase
SOURCES += ../tst_selftests.cpp
QT = core xml testlib-private
QT = core testlib-private
TARGET = ../tst_selftests