gui: eliminated usage of qttest_p4.prf
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 25 Oct 2011 01:38:02 +0000 (11:38 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 25 Oct 2011 05:19:31 +0000 (07:19 +0200)
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: I97046aa51f1b3fc100e2eb2fa115f1bf8ae6437d
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
72 files changed:
tests/auto/gui/image/qicoimageformat/qicoimageformat.pro
tests/auto/gui/image/qicon/qicon.pro
tests/auto/gui/image/qimage/qimage.pro
tests/auto/gui/image/qimageiohandler/qimageiohandler.pro
tests/auto/gui/image/qimagereader/qimagereader.pro
tests/auto/gui/image/qimagewriter/qimagewriter.pro
tests/auto/gui/image/qmovie/qmovie.pro
tests/auto/gui/image/qpicture/qpicture.pro
tests/auto/gui/image/qpixmap/qpixmap.pro
tests/auto/gui/image/qpixmapcache/qpixmapcache.pro
tests/auto/gui/image/qpixmapfilter/qpixmapfilter.pro
tests/auto/gui/image/qvolatileimage/qvolatileimage.pro
tests/auto/gui/kernel/qclipboard/test/test.pro
tests/auto/gui/kernel/qdrag/qdrag.pro
tests/auto/gui/kernel/qevent/qevent.pro
tests/auto/gui/kernel/qfileopenevent/test/test.pro
tests/auto/gui/kernel/qguimetatype/qguimetatype.pro
tests/auto/gui/kernel/qguivariant/qguivariant.pro
tests/auto/gui/kernel/qinputpanel/qinputpanel.pro
tests/auto/gui/kernel/qkeysequence/qkeysequence.pro
tests/auto/gui/kernel/qmouseevent/qmouseevent.pro
tests/auto/gui/kernel/qmouseevent_modal/qmouseevent_modal.pro
tests/auto/gui/kernel/qpalette/qpalette.pro
tests/auto/gui/kernel/qshortcut/qshortcut.pro
tests/auto/gui/math3d/qmatrixnxn/qmatrixnxn.pro
tests/auto/gui/math3d/qquaternion/qquaternion.pro
tests/auto/gui/math3d/qvectornd/qvectornd.pro
tests/auto/gui/painting/qbrush/qbrush.pro
tests/auto/gui/painting/qcolor/qcolor.pro
tests/auto/gui/painting/qpaintengine/qpaintengine.pro
tests/auto/gui/painting/qpainter/qpainter.pro
tests/auto/gui/painting/qpainterpath/qpainterpath.pro
tests/auto/gui/painting/qpainterpathstroker/qpainterpathstroker.pro
tests/auto/gui/painting/qpathclipper/qpathclipper.pro
tests/auto/gui/painting/qpen/qpen.pro
tests/auto/gui/painting/qpolygon/qpolygon.pro
tests/auto/gui/painting/qprinter/qprinter.pro
tests/auto/gui/painting/qprinterinfo/qprinterinfo.pro
tests/auto/gui/painting/qregion/qregion.pro
tests/auto/gui/painting/qtransform/qtransform.pro
tests/auto/gui/painting/qwmatrix/qwmatrix.pro
tests/auto/gui/text/qabstracttextdocumentlayout/qabstracttextdocumentlayout.pro
tests/auto/gui/text/qcssparser/qcssparser.pro
tests/auto/gui/text/qfont/qfont.pro
tests/auto/gui/text/qfontdatabase/qfontdatabase.pro
tests/auto/gui/text/qfontmetrics/qfontmetrics.pro
tests/auto/gui/text/qglyphrun/qglyphrun.pro
tests/auto/gui/text/qrawfont/qrawfont.pro
tests/auto/gui/text/qstatictext/qstatictext.pro
tests/auto/gui/text/qsyntaxhighlighter/qsyntaxhighlighter.pro
tests/auto/gui/text/qtextblock/qtextblock.pro
tests/auto/gui/text/qtextcursor/qtextcursor.pro
tests/auto/gui/text/qtextdocument/qtextdocument.pro
tests/auto/gui/text/qtextdocumentfragment/qtextdocumentfragment.pro
tests/auto/gui/text/qtextdocumentlayout/qtextdocumentlayout.pro
tests/auto/gui/text/qtextformat/qtextformat.pro
tests/auto/gui/text/qtextlayout/qtextlayout.pro
tests/auto/gui/text/qtextlist/qtextlist.pro
tests/auto/gui/text/qtextobject/qtextobject.pro
tests/auto/gui/text/qtextodfwriter/qtextodfwriter.pro
tests/auto/gui/text/qtextpiecetable/qtextpiecetable.pro
tests/auto/gui/text/qtextscriptengine/qtextscriptengine.pro
tests/auto/gui/text/qtexttable/qtexttable.pro
tests/auto/gui/text/qzip/qzip.pro
tests/auto/gui/util/qdesktopservices/qdesktopservices.pro
tests/auto/qopengl/qopengl.pro
tests/auto/qtransformedscreen/qtransformedscreen.pro
tests/auto/qwindowsurface/qwindowsurface.pro
tests/auto/qwsembedwidget/qwsembedwidget.pro
tests/auto/qwsinputmethod/qwsinputmethod.pro
tests/auto/qwswindowsystem/qwswindowsystem.pro
tests/auto/qx11info/qx11info.pro

index aae89db..0ad195f 100644 (file)
@@ -1,5 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qicoimageformat
 SOURCES+= tst_qicoimageformat.cpp
+QT += testlib
 
 wince*: {
    DEFINES += SRCDIR=\\\".\\\"
index 336a63d..34fc5b7 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qicon
 
-QT += widgets
+QT += widgets testlib
 SOURCES += tst_qicon.cpp
 RESOURCES = tst_qicon.qrc
 
index 87828b9..afa279f 100644 (file)
@@ -1,7 +1,8 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qimage
 SOURCES  += tst_qimage.cpp
 
-QT += core-private gui-private
+QT += core-private gui-private testlib
 
 wince*: {
    addImages.files = images/*
index 46e5cfb..428ff62 100644 (file)
@@ -1,8 +1,6 @@
-############################################################
-# Project file for autotest for file qimageiohandler.h
-############################################################
-
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qimageiohandler
+QT += testlib
 
 SOURCES += tst_qimageiohandler.cpp
 
index e706f24..fc2b972 100644 (file)
@@ -1,7 +1,8 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qimagereader
 SOURCES += tst_qimagereader.cpp
 MOC_DIR=tmp
-QT += widgets widgets-private core-private gui-private network
+QT += widgets widgets-private core-private gui-private network testlib
 RESOURCES += qimagereader.qrc
 DEFINES += SRCDIR=\\\"$$PWD\\\"
 
index ebd5efd..10c950c 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qimagewriter
+QT += widgets testlib
 SOURCES += tst_qimagewriter.cpp
 MOC_DIR=tmp
 !contains(QT_CONFIG, no-tiff):DEFINES += QTEST_HAVE_TIFF
index 54cd7a2..d565418 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qmovie
+QT += widgets testlib
 SOURCES += tst_qmovie.cpp
 MOC_DIR=tmp
 
index eb96b73..82e6244 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qpicture
+QT += widgets testlib
 SOURCES  += tst_qpicture.cpp
 
 
index d6d260d..fc09164 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qpixmap
 
-QT += core-private gui-private widgets widgets-private
+QT += core-private gui-private widgets widgets-private testlib
 
 SOURCES  += tst_qpixmap.cpp
 wince* {
index 1ffafd6..fe3b5a2 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += gui-private
+CONFIG += testcase
+TARGET = tst_qpixmapcache
+QT += gui-private testlib
 SOURCES  += tst_qpixmapcache.cpp
 
 
index 21e10b7..872686b 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qpixmapfilter
 
-QT += widgets widgets-private
+QT += widgets widgets-private testlib
 QT += gui-private
 
 SOURCES  += tst_qpixmapfilter.cpp
index d97eb1e..3d982d7 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qvolatileimage
 
-QT += gui-private widgets
+QT += gui-private widgets testlib
 
 SOURCES  += tst_qvolatileimage.cpp
index 3855227..5d28e8e 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
 SOURCES  += ../tst_qclipboard.cpp
 TARGET = ../tst_qclipboard
+QT += testlib
 
 win32 {
   CONFIG(debug, debug|release) {
index d9d6455..0173b57 100644 (file)
@@ -2,8 +2,9 @@
 # Project file for autotest for file qdrag.h
 ############################################################
 
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qdrag
+QT += widgets testlib
 SOURCES += tst_qdrag.cpp
 
 
index 6042b6c..09d4395 100644 (file)
@@ -1,4 +1,5 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qevent
 SOURCES += tst_qevent.cpp
-QT = core
+QT = core testlib
 CONFIG += parallel_test
index 1a813bc..a6d3f32 100644 (file)
@@ -1,4 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
 TARGET = tst_qfileopenevent
-HEADERS +=
+QT += testlib
 SOURCES += tst_qfileopenevent.cpp
index 3386cfe..9141424 100644 (file)
@@ -1,4 +1,5 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qguimetatype
 SOURCES  += tst_qguimetatype.cpp
-QT = core gui
+QT = core gui testlib
 CONFIG += parallel_test
index 68082f0..9653d8e 100644 (file)
@@ -1,5 +1,5 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qguivariant
 SOURCES  += tst_qguivariant.cpp
-
-
+QT += testlib
 
index c61dba4..5e3f4b1 100644 (file)
@@ -1,3 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qinputpanel
 SOURCES  += tst_qinputpanel.cpp
-QT += core-private gui-private
+QT += core-private gui-private testlib
index 6cfbe45..1e0baaf 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qkeysequence
 
-QT += widgets widgets-private
+QT += widgets widgets-private testlib
 QT += core-private gui-private
 
 SOURCES  += tst_qkeysequence.cpp
index 58cebd3..b99c301 100644 (file)
@@ -1,3 +1,4 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qmouseevent
+QT += widgets testlib
 SOURCES += tst_qmouseevent.cpp
index 2f28de2..7fd3a59 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qmouseevent_modal
+QT += widgets testlib
 SOURCES  += tst_qmouseevent_modal.cpp
 
 
index 4b240e5..8975704 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qpalette
+QT += widgets testlib
 SOURCES  += tst_qpalette.cpp
 
 
index 3f68d23..7ac1dd2 100644 (file)
@@ -1,10 +1,11 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qshortcut
 
 # Project Configuration ----------------------------------------------
 INCLUDEPATH  += ../
 
 # Normal Test Files --------------------------------------------------
-QT += widgets
+QT += widgets testlib
 HEADERS      += 
 SOURCES      += tst_qshortcut.cpp
 
index cf6e4a1..9c43d60 100644 (file)
@@ -1,2 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qmatrixnxn
 SOURCES += tst_qmatrixnxn.cpp
+QT += testlib
index 6f740cf..f578a38 100644 (file)
@@ -1,2 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qquaternion
 SOURCES += tst_qquaternion.cpp
+QT += testlib
index 6346199..9e5155a 100644 (file)
@@ -1,2 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qvectornd
 SOURCES += tst_qvectornd.cpp
+QT += testlib
index 1c3efd4..2a470c4 100644 (file)
@@ -1,3 +1,4 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qbrush
+QT += widgets testlib
 SOURCES  += tst_qbrush.cpp
index b9d437e..7dba0ce 100644 (file)
@@ -1,5 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qcolor
 SOURCES  += tst_qcolor.cpp
-
-
-
+QT += testlib
index e37c166..810dd81 100644 (file)
@@ -1,9 +1,4 @@
-############################################################
-# Project file for autotest for file qpaintengine.h
-############################################################
-
-load(qttest_p4)
-
+CONFIG += testcase
+TARGET = tst_qpaintengine
 SOURCES += tst_qpaintengine.cpp
-
-
+QT += testlib
index 23cb5db..716d70c 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qpainter
 
-QT += widgets widgets-private printsupport
+QT += widgets widgets-private printsupport testlib
 
 SOURCES  += tst_qpainter.cpp
 wince* {
index 9708222..0c0fe89 100644 (file)
@@ -1,5 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qpainterpath
 SOURCES  += tst_qpainterpath.cpp
-
-
-
+QT += testlib
index b6f62a2..218183d 100644 (file)
@@ -1,5 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qpainterpathstroker
 SOURCES  += tst_qpainterpathstroker.cpp
-
-
-
+QT += testlib
index 319dcb3..e8a3b8a 100644 (file)
@@ -1,8 +1,9 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qpathclipper
 INCLUDEPATH += .
 HEADERS += paths.h
 SOURCES  += tst_qpathclipper.cpp paths.cpp
-QT += gui-private
+QT += gui-private testlib
 
 requires(contains(QT_CONFIG,private_tests))
 
index 53bd5e2..762b8f4 100644 (file)
@@ -1,5 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qpen
 SOURCES  += tst_qpen.cpp
-
-
-
+QT += testlib
index 1d57028..869fbd3 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qpolygon
+QT += widgets testlib
 SOURCES  += tst_qpolygon.cpp
 
 unix:!mac:LIBS+=-lm
index da02bdd..fd01471 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += printsupport widgets
+CONFIG += testcase
+TARGET = tst_qprinter
+QT += printsupport widgets testlib
 SOURCES  += tst_qprinter.cpp
 
 mac*:CONFIG+=insignificant_test
index 8c96e2d..6c89d64 100644 (file)
@@ -1,7 +1,8 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qprinterinfo
 SOURCES  += tst_qprinterinfo.cpp
 
-QT += printsupport network
+QT += printsupport network testlib
 
 DEFINES += QT_USE_USING_NAMESPACE
 
index 8dbb484..e9dff9a 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qregion
 
-QT += gui-private
+QT += gui-private testlib
 
 SOURCES  += tst_qregion.cpp
 
index 7cba3db..79ac236 100644 (file)
@@ -1,7 +1,6 @@
-load(qttest_p4)
-HEADERS += 
+CONFIG += testcase
+TARGET = tst_qtransform
 SOURCES  += tst_qtransform.cpp
+QT += testlib
 
 unix:!mac:LIBS+=-lm
-
-
index 8c6a967..a7d79c7 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qwmatrix
 SOURCES  += tst_qwmatrix.cpp
+QT += testlib
 
 unix:!mac:LIBS+=-lm
-
index 22b013e..025b3f8 100644 (file)
@@ -2,8 +2,9 @@
 # Project file for autotest for file qabstracttextdocumentlayout.h
 ############################################################
 
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qabstracttextdocumentlayout
+QT += widgets testlib
 SOURCES += tst_qabstracttextdocumentlayout.cpp
 
 
index 14070a5..d8d275a 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qcssparser
 SOURCES += tst_qcssparser.cpp
-QT += xml gui-private
+QT += xml gui-private testlib
 
 requires(contains(QT_CONFIG,private_tests))
 DEFINES += SRCDIR=\\\"$$PWD\\\"
index 891cb0a..6d5b3bc 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qfont
+QT += widgets testlib
 SOURCES  += tst_qfont.cpp
 
 
index 4abff18..08442cc 100644 (file)
@@ -1,6 +1,8 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qfontdatabase
 SOURCES  += tst_qfontdatabase.cpp
 DEFINES += SRCDIR=\\\"$$PWD\\\"
+QT += testlib
 
 wince* {
     additionalFiles.files = FreeMono.ttf
index c0dc1ab..a636651 100644 (file)
@@ -1,4 +1,6 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qfontmetrics
+QT += testlib
 SOURCES  += tst_qfontmetrics.cpp
 RESOURCES += testfont.qrc
 
index 9d3c625..acdff05 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT = core gui
+CONFIG += testcase
+TARGET = tst_qglyphrun
+QT = core gui testlib
 
 SOURCES += \
     tst_qglyphrun.cpp
index 3bb3dce..450ef32 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qrawfont
 
-QT = core core-private gui gui-private
+QT = core core-private gui gui-private testlib
 
 SOURCES += \
     tst_qrawfont.cpp
index a8398dc..19ac6ce 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets widgets-private
+CONFIG += testcase
+TARGET = tst_qstatictext
+QT += widgets widgets-private testlib
 QT += core core-private gui gui-private
 SOURCES  += tst_qstatictext.cpp
 
index 30fb3a5..14f5add 100644 (file)
@@ -1,4 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qsyntaxhighlighter
 SOURCES += tst_qsyntaxhighlighter.cpp
-
-
+QT += testlib
index d50ef5c..cad009a 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qtextblock
 
-QT += widgets widgets-private
+QT += widgets widgets-private testlib
 QT += core-private gui-private
 
 SOURCES  += tst_qtextblock.cpp
index 828b90c..bae85d9 100644 (file)
@@ -1,5 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qtextcursor
 SOURCES  += tst_qtextcursor.cpp
-
-
-
+QT += testlib
index 6951758..1f06e29 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += core-private gui-private xml
+CONFIG += testcase
+TARGET = tst_qtextdocument
+QT += core-private gui-private xml testlib
 HEADERS += common.h
 SOURCES += tst_qtextdocument.cpp 
 
index e6ddd45..da8d120 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qtextdocumentfragment
 
-QT += core-private gui-private
+QT += core-private gui-private testlib
 
 SOURCES  += tst_qtextdocumentfragment.cpp
 
index 32b05ce..505ca8a 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qtextdocumentlayout
+QT += widgets testlib
 SOURCES += tst_qtextdocumentlayout.cpp
 
 
index 30f6e50..f810a3b 100644 (file)
@@ -1,9 +1,4 @@
-############################################################
-# Project file for autotest for file qtextformat.h
-############################################################
-
-load(qttest_p4)
-
+CONFIG += testcase
+TARGET = tst_qtextformat
+QT += testlib
 SOURCES += tst_qtextformat.cpp
-
-
index 4498ec0..f35239b 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += core-private gui-private
+CONFIG += testcase
+TARGET = tst_qtextlayout
+QT += core-private gui-private testlib
 HEADERS += 
 SOURCES += tst_qtextlayout.cpp 
 DEFINES += QT_COMPILES_IN_HARFBUZZ
index f66fb96..e9ca3ad 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qtextlist
 
-QT += core-private gui-private
+QT += core-private gui-private testlib
 
 SOURCES  += tst_qtextlist.cpp
 HEADERS += ../qtextdocument/common.h
index e87a364..02ae3ae 100644 (file)
@@ -2,8 +2,9 @@
 # Project file for autotest for file qtextobject.h
 ############################################################
 
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qtextobject
+QT += widgets testlib
 SOURCES += tst_qtextobject.cpp
 
 
index 32913a9..2c8bb39 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += core-private gui-private
+CONFIG += testcase
+TARGET = tst_qtextodfwriter
+QT += core-private gui-private testlib
 SOURCES += tst_qtextodfwriter.cpp
 
 DEFINES += SRCDIR=\\\"$$PWD\\\"
index cfbbe2b..930d18f 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets widgets-private
+CONFIG += testcase
+TARGET = tst_qtextpiecetable
+QT += widgets widgets-private testlib
 QT += core-private gui-private
 SOURCES  += tst_qtextpiecetable.cpp
 HEADERS += ../qtextdocument/common.h
index 0f5076e..6dcb1b4 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qtextscriptengine
 
-QT += core-private gui-private
+QT += core-private gui-private testlib
 
 HEADERS += 
 SOURCES += tst_qtextscriptengine.cpp 
index 611b706..88583ff 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qtexttable
+QT += widgets testlib
 SOURCES  += tst_qtexttable.cpp
 
 
index 221971c..309f216 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += gui-private
+CONFIG += testcase
+TARGET = tst_qzip
+QT += gui-private testlib
 SOURCES += tst_qzip.cpp
 
 wince* {
index 3014298..98bc5c3 100644 (file)
@@ -1,5 +1,5 @@
-CONFIG += qttest_p4
-QT += widgets
+CONFIG += testcase
+QT += widgets testlib
 
 SOURCES                += tst_qdesktopservices.cpp
 TARGET         = tst_qdesktopservices
index b049518..f281c6c 100644 (file)
@@ -2,8 +2,9 @@
 # Project file for autotest for gui/opengl functionality
 ############################################################
 
-load(qttest_p4)
-QT += gui gui-private core-private
+CONFIG += testcase
+TARGET = tst_qopengl
+QT += gui gui-private core-private testlib
 
 SOURCES   += tst_qopengl.cpp
 
index 6914054..daea2dd 100644 (file)
@@ -1,5 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qtransformedscreen
 SOURCES += tst_qtransformedscreen.cpp
+QT += testlib
 
 embedded:!contains(gfx-drivers, transformed) {
 LIBS += ../../../plugins/gfxdrivers/libqgfxtransformed.so
index f1e8bf6..726be72 100644 (file)
@@ -1,6 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qwindowsurface
 
-QT += widgets widgets-private
+QT += widgets widgets-private testlib
 QT += gui-private
 
 SOURCES += tst_qwindowsurface.cpp
index 640b52d..97cbf94 100644 (file)
@@ -1,3 +1,4 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qwsembedwidget
+QT += widgets testlib
 SOURCES += tst_qwsembedwidget.cpp
index d549de0..83ea7f2 100644 (file)
@@ -1,2 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qwsinputmethod
+QT += testlib
 SOURCES += tst_qwsinputmethod.cpp
index ee33935..41aa1ae 100644 (file)
@@ -1,2 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qwswindowsystem
+QT += testlib
 SOURCES += tst_qwswindowsystem.cpp
index a6c06e6..e9ad008 100644 (file)
@@ -1,5 +1,6 @@
-load(qttest_p4)
-QT += widgets
+CONFIG += testcase
+TARGET = tst_qx11info
+QT += widgets testlib
 SOURCES += tst_qx11info.cpp