diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-12-17 08:44:19 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-12-17 13:02:15 +0100 |
commit | a46a723dbab83c777e45f40a6bd685a07d60ca4e (patch) | |
tree | 1695b39f985714e5fbf1f04d5a442aadbf65e85d /tests/auto/network/kernel | |
parent | f0668433c4041a00399eeb29856273fce1389bf3 (diff) |
Tests: Fix building with qmake on Windows
Apparently some library definitions went overboard, link them directly.
Pick-to: 6.0
Change-Id: I009737f7e3edff5619241b700a627dc4e25e6018
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/network/kernel')
-rw-r--r-- | tests/auto/network/kernel/qhostaddress/qhostaddress.pro | 2 | ||||
-rw-r--r-- | tests/auto/network/kernel/qhostinfo/qhostinfo.pro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/network/kernel/qhostaddress/qhostaddress.pro b/tests/auto/network/kernel/qhostaddress/qhostaddress.pro index d170d879e6..b092aa046d 100644 --- a/tests/auto/network/kernel/qhostaddress/qhostaddress.pro +++ b/tests/auto/network/kernel/qhostaddress/qhostaddress.pro @@ -4,4 +4,4 @@ SOURCES += tst_qhostaddress.cpp QT = core network-private testlib -win32: QMAKE_USE += ws2_32 +win32: LIBS += -lws2_32 diff --git a/tests/auto/network/kernel/qhostinfo/qhostinfo.pro b/tests/auto/network/kernel/qhostinfo/qhostinfo.pro index e084f28229..272999cff1 100644 --- a/tests/auto/network/kernel/qhostinfo/qhostinfo.pro +++ b/tests/auto/network/kernel/qhostinfo/qhostinfo.pro @@ -6,4 +6,4 @@ SOURCES += tst_qhostinfo.cpp requires(qtConfig(private_tests)) QT = core-private network-private testlib -win32: QMAKE_USE += ws2_32 +win32: LIBS += -lws2_32 |