diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-10-25 11:38:02 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-25 07:19:31 +0200 |
commit | c0fb09465b4eaebde953f3c51ad730eab8ee0815 (patch) | |
tree | 1645a6866bd2b2425fd0dcb3a2e28810b0b61c17 /tests/auto/gui/kernel | |
parent | 07102cebded5b54acdb8d20f3e49be0aa0c2c1e2 (diff) |
gui: 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: I97046aa51f1b3fc100e2eb2fa115f1bf8ae6437d
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/gui/kernel')
-rw-r--r-- | tests/auto/gui/kernel/qclipboard/test/test.pro | 3 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qdrag/qdrag.pro | 5 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qevent/qevent.pro | 5 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qfileopenevent/test/test.pro | 4 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qguimetatype/qguimetatype.pro | 5 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qguivariant/qguivariant.pro | 6 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qinputpanel/qinputpanel.pro | 5 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qkeysequence/qkeysequence.pro | 5 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qmouseevent/qmouseevent.pro | 5 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qmouseevent_modal/qmouseevent_modal.pro | 5 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qpalette/qpalette.pro | 5 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qshortcut/qshortcut.pro | 5 |
12 files changed, 34 insertions, 24 deletions
diff --git a/tests/auto/gui/kernel/qclipboard/test/test.pro b/tests/auto/gui/kernel/qclipboard/test/test.pro index 38552273c3..5d28e8e060 100644 --- a/tests/auto/gui/kernel/qclipboard/test/test.pro +++ b/tests/auto/gui/kernel/qclipboard/test/test.pro @@ -1,6 +1,7 @@ -load(qttest_p4) +CONFIG += testcase SOURCES += ../tst_qclipboard.cpp TARGET = ../tst_qclipboard +QT += testlib win32 { CONFIG(debug, debug|release) { diff --git a/tests/auto/gui/kernel/qdrag/qdrag.pro b/tests/auto/gui/kernel/qdrag/qdrag.pro index d9d645559b..0173b57215 100644 --- a/tests/auto/gui/kernel/qdrag/qdrag.pro +++ b/tests/auto/gui/kernel/qdrag/qdrag.pro @@ -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 diff --git a/tests/auto/gui/kernel/qevent/qevent.pro b/tests/auto/gui/kernel/qevent/qevent.pro index 6042b6cdc9..09d4395f4d 100644 --- a/tests/auto/gui/kernel/qevent/qevent.pro +++ b/tests/auto/gui/kernel/qevent/qevent.pro @@ -1,4 +1,5 @@ -load(qttest_p4) +CONFIG += testcase +TARGET = tst_qevent SOURCES += tst_qevent.cpp -QT = core +QT = core testlib CONFIG += parallel_test diff --git a/tests/auto/gui/kernel/qfileopenevent/test/test.pro b/tests/auto/gui/kernel/qfileopenevent/test/test.pro index 1a813bca20..a6d3f322ef 100644 --- a/tests/auto/gui/kernel/qfileopenevent/test/test.pro +++ b/tests/auto/gui/kernel/qfileopenevent/test/test.pro @@ -1,4 +1,4 @@ -load(qttest_p4) +CONFIG += testcase TARGET = tst_qfileopenevent -HEADERS += +QT += testlib SOURCES += tst_qfileopenevent.cpp diff --git a/tests/auto/gui/kernel/qguimetatype/qguimetatype.pro b/tests/auto/gui/kernel/qguimetatype/qguimetatype.pro index 3386cfe2f2..914142404b 100644 --- a/tests/auto/gui/kernel/qguimetatype/qguimetatype.pro +++ b/tests/auto/gui/kernel/qguimetatype/qguimetatype.pro @@ -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 diff --git a/tests/auto/gui/kernel/qguivariant/qguivariant.pro b/tests/auto/gui/kernel/qguivariant/qguivariant.pro index 68082f0037..9653d8e455 100644 --- a/tests/auto/gui/kernel/qguivariant/qguivariant.pro +++ b/tests/auto/gui/kernel/qguivariant/qguivariant.pro @@ -1,5 +1,5 @@ -load(qttest_p4) +CONFIG += testcase +TARGET = tst_qguivariant SOURCES += tst_qguivariant.cpp - - +QT += testlib diff --git a/tests/auto/gui/kernel/qinputpanel/qinputpanel.pro b/tests/auto/gui/kernel/qinputpanel/qinputpanel.pro index c61dba420c..5e3f4b1504 100644 --- a/tests/auto/gui/kernel/qinputpanel/qinputpanel.pro +++ b/tests/auto/gui/kernel/qinputpanel/qinputpanel.pro @@ -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 diff --git a/tests/auto/gui/kernel/qkeysequence/qkeysequence.pro b/tests/auto/gui/kernel/qkeysequence/qkeysequence.pro index 6cfbe459ea..1e0baafd09 100644 --- a/tests/auto/gui/kernel/qkeysequence/qkeysequence.pro +++ b/tests/auto/gui/kernel/qkeysequence/qkeysequence.pro @@ -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 diff --git a/tests/auto/gui/kernel/qmouseevent/qmouseevent.pro b/tests/auto/gui/kernel/qmouseevent/qmouseevent.pro index 58cebd3d06..b99c3016b0 100644 --- a/tests/auto/gui/kernel/qmouseevent/qmouseevent.pro +++ b/tests/auto/gui/kernel/qmouseevent/qmouseevent.pro @@ -1,3 +1,4 @@ -load(qttest_p4) -QT += widgets +CONFIG += testcase +TARGET = tst_qmouseevent +QT += widgets testlib SOURCES += tst_qmouseevent.cpp diff --git a/tests/auto/gui/kernel/qmouseevent_modal/qmouseevent_modal.pro b/tests/auto/gui/kernel/qmouseevent_modal/qmouseevent_modal.pro index 2f28de2675..7fd3a59edc 100644 --- a/tests/auto/gui/kernel/qmouseevent_modal/qmouseevent_modal.pro +++ b/tests/auto/gui/kernel/qmouseevent_modal/qmouseevent_modal.pro @@ -1,5 +1,6 @@ -load(qttest_p4) -QT += widgets +CONFIG += testcase +TARGET = tst_qmouseevent_modal +QT += widgets testlib SOURCES += tst_qmouseevent_modal.cpp diff --git a/tests/auto/gui/kernel/qpalette/qpalette.pro b/tests/auto/gui/kernel/qpalette/qpalette.pro index 4b240e5f9c..8975704f0f 100644 --- a/tests/auto/gui/kernel/qpalette/qpalette.pro +++ b/tests/auto/gui/kernel/qpalette/qpalette.pro @@ -1,5 +1,6 @@ -load(qttest_p4) -QT += widgets +CONFIG += testcase +TARGET = tst_qpalette +QT += widgets testlib SOURCES += tst_qpalette.cpp diff --git a/tests/auto/gui/kernel/qshortcut/qshortcut.pro b/tests/auto/gui/kernel/qshortcut/qshortcut.pro index 3f68d2377e..7ac1dd2c9d 100644 --- a/tests/auto/gui/kernel/qshortcut/qshortcut.pro +++ b/tests/auto/gui/kernel/qshortcut/qshortcut.pro @@ -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 |