summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/styles
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/styles
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/styles')
-rw-r--r--tests/auto/widgets/styles/qmacstyle/qmacstyle.pro5
-rw-r--r--tests/auto/widgets/styles/qstyle/qstyle.pro4
-rw-r--r--tests/auto/widgets/styles/qstyleoption/qstyleoption.pro5
-rw-r--r--tests/auto/widgets/styles/qstylesheetstyle/qstylesheetstyle.pro5
4 files changed, 11 insertions, 8 deletions
diff --git a/tests/auto/widgets/styles/qmacstyle/qmacstyle.pro b/tests/auto/widgets/styles/qmacstyle/qmacstyle.pro
index 5aad7368c6..1408f87682 100644
--- a/tests/auto/widgets/styles/qmacstyle/qmacstyle.pro
+++ b/tests/auto/widgets/styles/qmacstyle/qmacstyle.pro
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qmacstyle
+QT += widgets testlib
SOURCES += tst_qmacstyle.cpp
diff --git a/tests/auto/widgets/styles/qstyle/qstyle.pro b/tests/auto/widgets/styles/qstyle/qstyle.pro
index 2016316737..5a18a70d9e 100644
--- a/tests/auto/widgets/styles/qstyle/qstyle.pro
+++ b/tests/auto/widgets/styles/qstyle/qstyle.pro
@@ -1,6 +1,6 @@
-load(qttest_p4)
+CONFIG += testcase
TARGET.EPOCHEAPSIZE = 0x200000 0x800000
-QT += widgets
+QT += widgets testlib
SOURCES += tst_qstyle.cpp
wince* {
diff --git a/tests/auto/widgets/styles/qstyleoption/qstyleoption.pro b/tests/auto/widgets/styles/qstyleoption/qstyleoption.pro
index ccbb39d55b..cadc6d6ddc 100644
--- a/tests/auto/widgets/styles/qstyleoption/qstyleoption.pro
+++ b/tests/auto/widgets/styles/qstyleoption/qstyleoption.pro
@@ -2,9 +2,10 @@
# Automatically generated by qmake (2.00a) ti 8. mar 16:20:21 2005
######################################################################
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qstyleoption
TEMPLATE = app
-QT += widgets
+QT += widgets testlib
# Input
SOURCES += tst_qstyleoption.cpp
diff --git a/tests/auto/widgets/styles/qstylesheetstyle/qstylesheetstyle.pro b/tests/auto/widgets/styles/qstylesheetstyle/qstylesheetstyle.pro
index 9dc296a51c..137d6a2bc5 100644
--- a/tests/auto/widgets/styles/qstylesheetstyle/qstylesheetstyle.pro
+++ b/tests/auto/widgets/styles/qstylesheetstyle/qstylesheetstyle.pro
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets widgets-private
+CONFIG += testcase
+TARGET = tst_qstylesheetstyle
+QT += widgets widgets-private testlib
QT += gui-private
# Input
SOURCES += tst_qstylesheetstyle.cpp