diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-07-23 10:10:46 (GMT) |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-07-23 10:20:09 (GMT) |
commit | 30f6a1d06723aac5168dcef32cba10cd99b85242 (patch) | |
tree | 247cec89803b0b6a5e63ccd83ddc4e0e9add2518 /tests/auto/qsqldatabase | |
parent | e5207123dff4eb6b6eaea244d697ec14c08a502e (diff) | |
download | Qt-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.pro | 5 |
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 |