summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/sql/kernel/qsqlquery/qsqlquery.pro
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2013-04-17 16:02:08 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-17 19:49:13 +0200
commitc6612de314ff149b5d331b589c8f277274706ddf (patch)
tree756195dc15f98e61bbef74a8d8bfc72240655c17 /tests/benchmarks/sql/kernel/qsqlquery/qsqlquery.pro
parent52afd781ad1ea61c6f0daf6633f5c65c006198fb (diff)
Fix qsqlquery benchmark test build for WEC7.
WEC7 does not have ws2_32 lib. The lib is needed for gethostname symbol, instead of using hard coded platform specific libs, rely on QMAKE_NETWORK_LIBS variable containing network libs. Change-Id: Ice39ca3f2d176cc5df88beded4b64d2b92f4f3ba Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Diffstat (limited to 'tests/benchmarks/sql/kernel/qsqlquery/qsqlquery.pro')
-rw-r--r--tests/benchmarks/sql/kernel/qsqlquery/qsqlquery.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/sql/kernel/qsqlquery/qsqlquery.pro b/tests/benchmarks/sql/kernel/qsqlquery/qsqlquery.pro
index bfea404980..abfebad2aa 100644
--- a/tests/benchmarks/sql/kernel/qsqlquery/qsqlquery.pro
+++ b/tests/benchmarks/sql/kernel/qsqlquery/qsqlquery.pro
@@ -3,5 +3,5 @@ TARGET = tst_bench_qsqlquery
SOURCES += main.cpp
QT = core sql testlib core-private sql-private
-win32: LIBS += -lws2_32
+LIBS += $$QMAKE_LIBS_NETWORK
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0