summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpainter
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-12-29 10:00:37 (GMT)
committerQt by Nokia <qt-info@nokia.com>2011-12-29 13:57:08 (GMT)
commit6974cc0a9ea2911a9ffd097f05955c1ca73e184a (patch)
treeb3c8f4ffca81112a4420ba26bab32b7b57aef70e /tests/auto/qpainter
parent5991bc3b3b7c638592ec5e7060e467f4838201d8 (diff)
downloadQt-6974cc0a9ea2911a9ffd097f05955c1ca73e184a.zip
Qt-6974cc0a9ea2911a9ffd097f05955c1ca73e184a.tar.gz
Qt-6974cc0a9ea2911a9ffd097f05955c1ca73e184a.tar.bz2
tests: eliminated usage of qttest_p4.prf [part 3]
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: I65ba34a59db7aa15bc6304e690c825a4d6cd1037 Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests/auto/qpainter')
-rw-r--r--tests/auto/qpainter/qpainter.pro9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/auto/qpainter/qpainter.pro b/tests/auto/qpainter/qpainter.pro
index 030b344..7762650 100644
--- a/tests/auto/qpainter/qpainter.pro
+++ b/tests/auto/qpainter/qpainter.pro
@@ -1,6 +1,11 @@
-load(qttest_p4)
-contains(QT_CONFIG, qt3support): QT += qt3support
+CONFIG += testcase
+
+TARGET = tst_qpainter
+QT += testlib
SOURCES += tst_qpainter.cpp
+
+contains(QT_CONFIG, qt3support): QT += qt3support
+
wince*|symbian: {
addFiles.files = drawEllipse drawLine_rop_bitmap drawPixmap_rop drawPixmap_rop_bitmap task217400.png
addFiles.path = .