2011-10-25 04:42:16 +00:00
|
|
|
CONFIG += testcase
|
|
|
|
TARGET = tst_qhostinfo
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
SOURCES += tst_qhostinfo.cpp
|
|
|
|
|
2011-10-25 04:42:16 +00:00
|
|
|
QT = core-private network-private testlib
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
wince*: {
|
|
|
|
LIBS += ws2.lib
|
|
|
|
} else {
|
|
|
|
win32:LIBS += -lws2_32
|
|
|
|
}
|
2012-01-23 00:28:06 +00:00
|
|
|
|
2012-11-21 10:37:03 +00:00
|
|
|
# needed for getaddrinfo with official MinGW
|
|
|
|
win32-g++*:DEFINES += _WIN32_WINNT=0x0501
|
|
|
|
|
2012-01-23 00:28:06 +00:00
|
|
|
linux-*:CONFIG+=insignificant_test # QTBUG-23837 - test is unstable
|
2012-08-01 11:19:40 +00:00
|
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|