summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsqltablemodel
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/qsqltablemodel
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/qsqltablemodel')
-rw-r--r--tests/auto/qsqltablemodel/qsqltablemodel.pro12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qsqltablemodel/qsqltablemodel.pro b/tests/auto/qsqltablemodel/qsqltablemodel.pro
index e49020f..e7e0d65 100644
--- a/tests/auto/qsqltablemodel/qsqltablemodel.pro
+++ b/tests/auto/qsqltablemodel/qsqltablemodel.pro
@@ -1,14 +1,15 @@
-load(qttest_p4)
-SOURCES += tst_qsqltablemodel.cpp
+CONFIG += testcase
-QT += sql
+TARGET = tst_qsqltablemodel
+QT = core sql testlib
+SOURCES += tst_qsqltablemodel.cpp
wince*: {
plugFiles.files = ../../../plugins/sqldrivers
plugFiles.path = .
DEPLOYMENT += plugFiles
LIBS += -lws2
-}else:symbian {
+} else:symbian {
qt_not_deployed {
contains(S60_VERSION, 3.1)|contains(S60_VERSION, 3.2)|contains(S60_VERSION, 5.0) {
sqlite.path = /sys/bin
@@ -16,7 +17,6 @@ wince*: {
DEPLOYMENT += sqlite
}
}
-}else {
+} else {
win32:LIBS += -lws2_32
}
-