qt5base-lts/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
Jonathan Liu e010dcf12c 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>
2012-11-22 11:39:04 +01:00

19 lines
383 B
Prolog

CONFIG += testcase
TARGET = tst_qhostinfo
SOURCES += tst_qhostinfo.cpp
QT = core-private network-private testlib
wince*: {
LIBS += ws2.lib
} else {
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