qt5base-lts/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
Sergio Ahumada f15d730589 test: tst_qhostinfo requires `private_tests' set
Otherwise you get:

  undefined reference to `qt_qhostinfo_clear_cache()'

Change-Id: I32313f290b9e4236440ae01afe12285d4539be60
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
2014-01-15 16:18:44 +01:00

20 lines
427 B
Prolog

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