summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
blob: b6f5c2badbfd9317fe83de8ab6e8a909031979c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CONFIG += testcase
TARGET = tst_qhostinfo

SOURCES  += tst_qhostinfo.cpp

requires(contains(QT_CONFIG,private_tests))
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