summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2012-11-21 21:37:03 +1100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-22 11:39:04 +0100
commite010dcf12c8117bb554acb0c765b9dc68198c01d (patch)
tree9c6fece8a304143a005cc02cd11074bb5bb0ac3e /tests/auto/network/kernel/qhostinfo/qhostinfo.pro
parent78a239bc6d344f53cf48e4bceca7d45df69220e6 (diff)
Add support for getaddrinfo using MinGW in tst_qhostinfo
Change-Id: Ief9ddd22171ec2b852ca504957e0e11b90badccb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
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