summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/network/kernel/qhostinfo/qhostinfo.pro')
-rw-r--r--tests/auto/network/kernel/qhostinfo/qhostinfo.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/network/kernel/qhostinfo/qhostinfo.pro b/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
index 3b9ecbab50..c21e73ccee 100644
--- a/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
+++ b/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
@@ -11,5 +11,8 @@ wince*: {
win32:LIBS += -lws2_32
}
+# needed for getaddrinfo with official MinGW
+win32-g++*:DEFINES += _WIN32_WINNT=0x0501
+
linux-*:CONFIG+=insignificant_test # QTBUG-23837 - test is unstable
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0