summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsqldatabase
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@nokia.com>2009-07-23 10:10:46 (GMT)
committerMaurice Kalinowski <maurice.kalinowski@nokia.com>2009-07-23 10:20:09 (GMT)
commit30f6a1d06723aac5168dcef32cba10cd99b85242 (patch)
tree247cec89803b0b6a5e63ccd83ddc4e0e9add2518 /tests/auto/qsqldatabase
parente5207123dff4eb6b6eaea244d697ec14c08a502e (diff)
downloadQt-30f6a1d06723aac5168dcef32cba10cd99b85242.zip
Qt-30f6a1d06723aac5168dcef32cba10cd99b85242.tar.gz
Qt-30f6a1d06723aac5168dcef32cba10cd99b85242.tar.bz2
linker fix for WinCE
- link against correct library - theoretically it should be ok to use QHostInfo::localHostName(), but for this test it is fine Reviewed-by: Thomas Hartmann
Diffstat (limited to 'tests/auto/qsqldatabase')
-rw-r--r--tests/auto/qsqldatabase/qsqldatabase.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qsqldatabase/qsqldatabase.pro b/tests/auto/qsqldatabase/qsqldatabase.pro
index 534a2d3..3bca79a 100644
--- a/tests/auto/qsqldatabase/qsqldatabase.pro
+++ b/tests/auto/qsqldatabase/qsqldatabase.pro
@@ -5,7 +5,10 @@ QT += sql
contains(QT_CONFIG, qt3support): QT += qt3support
-win32:!wince*: LIBS += -lws2_32
+win32: {
+ !wince*: LIBS += -lws2_32
+ else: LIBS += -lws2
+}
wince*: {
DEPLOYMENT_PLUGIN += qsqlite