summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/util
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-10-25 14:24:31 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-25 08:42:23 +0200
commit6b29e881cdd93d8fccec50df9e8d001776800136 (patch)
tree9e06c61206b4facdf2a394554e77b291d6a2a13a /tests/auto/widgets/util
parent55b6e6fdfb14c467d1baab67271f85095929cd2a (diff)
widgets: 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: I3c1d993d5682db913aadc267d98a638061f393d6 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/widgets/util')
-rw-r--r--tests/auto/widgets/util/qcompleter/qcompleter.pro4
-rw-r--r--tests/auto/widgets/util/qscroller/qscroller.pro5
-rw-r--r--tests/auto/widgets/util/qsystemtrayicon/qsystemtrayicon.pro5
-rw-r--r--tests/auto/widgets/util/qundogroup/qundogroup.pro4
-rw-r--r--tests/auto/widgets/util/qundostack/qundostack.pro4
5 files changed, 12 insertions, 10 deletions
diff --git a/tests/auto/widgets/util/qcompleter/qcompleter.pro b/tests/auto/widgets/util/qcompleter/qcompleter.pro
index 4d58e6b813..63b137eb7c 100644
--- a/tests/auto/widgets/util/qcompleter/qcompleter.pro
+++ b/tests/auto/widgets/util/qcompleter/qcompleter.pro
@@ -1,7 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_qcompleter
-QT += widgets
+QT += widgets testlib
DEPENDPATH += .
INCLUDEPATH += . ..
diff --git a/tests/auto/widgets/util/qscroller/qscroller.pro b/tests/auto/widgets/util/qscroller/qscroller.pro
index de202d66aa..b1cdaa5f3b 100644
--- a/tests/auto/widgets/util/qscroller/qscroller.pro
+++ b/tests/auto/widgets/util/qscroller/qscroller.pro
@@ -1,4 +1,5 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qscroller
-QT += widgets
+QT += widgets testlib
SOURCES += tst_qscroller.cpp
diff --git a/tests/auto/widgets/util/qsystemtrayicon/qsystemtrayicon.pro b/tests/auto/widgets/util/qsystemtrayicon/qsystemtrayicon.pro
index 8a6ea3d0a9..e9310fc234 100644
--- a/tests/auto/widgets/util/qsystemtrayicon/qsystemtrayicon.pro
+++ b/tests/auto/widgets/util/qsystemtrayicon/qsystemtrayicon.pro
@@ -2,8 +2,9 @@
# Project file for autotest for file qsystemtrayicon.h
############################################################
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qsystemtrayicon
+QT += widgets testlib
SOURCES += tst_qsystemtrayicon.cpp
diff --git a/tests/auto/widgets/util/qundogroup/qundogroup.pro b/tests/auto/widgets/util/qundogroup/qundogroup.pro
index c2b6ceb038..bd8dac197b 100644
--- a/tests/auto/widgets/util/qundogroup/qundogroup.pro
+++ b/tests/auto/widgets/util/qundogroup/qundogroup.pro
@@ -1,4 +1,4 @@
-CONFIG += qttest_p4
-QT += widgets
+CONFIG += testcase
+QT += widgets testlib
SOURCES += tst_qundogroup.cpp
TARGET = tst_qundogroup
diff --git a/tests/auto/widgets/util/qundostack/qundostack.pro b/tests/auto/widgets/util/qundostack/qundostack.pro
index c8cfb70059..294debb51c 100644
--- a/tests/auto/widgets/util/qundostack/qundostack.pro
+++ b/tests/auto/widgets/util/qundostack/qundostack.pro
@@ -1,4 +1,4 @@
-CONFIG += qttest_p4
-QT += widgets
+CONFIG += testcase
+QT += widgets testlib
SOURCES += tst_qundostack.cpp
TARGET = tst_qundostack