278152fffd
Commit 773dd01
introduced a general mingw platform scope, which
is cleaner and more flexible than matching the spec name.
Change-Id: Ie3a9cb791a83f7c8a51bc4e23069190c452ab521
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
19 lines
378 B
Prolog
19 lines
378 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
|
|
mingw:DEFINES += _WIN32_WINNT=0x0501
|
|
|
|
linux-*:CONFIG+=insignificant_test # QTBUG-23837 - test is unstable
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|