summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkreply
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/qnetworkreply
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/qnetworkreply')
-rw-r--r--tests/auto/qnetworkreply/test/test.pro10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qnetworkreply/test/test.pro b/tests/auto/qnetworkreply/test/test.pro
index ce479d0..d52fcdb 100644
--- a/tests/auto/qnetworkreply/test/test.pro
+++ b/tests/auto/qnetworkreply/test/test.pro
@@ -1,19 +1,19 @@
-load(qttest_p4)
-QT -= gui
-SOURCES += ../tst_qnetworkreply.cpp
+CONFIG += testcase
+
TARGET = ../tst_qnetworkreply
+QT = core network testlib
+SOURCES += ../tst_qnetworkreply.cpp
win32 {
CONFIG(debug, debug|release) {
TARGET = ../../debug/tst_qnetworkreply
-} else {
+ } else {
TARGET = ../../release/tst_qnetworkreply
}
}
!symbian:DEFINES += SRCDIR=\\\"$$PWD/..\\\"
-QT = core network
RESOURCES += ../qnetworkreply.qrc
symbian|wince*:{