diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-08-07 20:52:11 -0700 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-10-18 09:26:43 +0000 |
commit | 3fe74b76fd0eaf39d4c6681e2edca5adbf107883 (patch) | |
tree | b49225508f84dec0a755d6f2f8a7be0f4edd68b7 /tests/manual/network_remote_stresstest | |
parent | 3760bc759045c58c548b8f6b8a0a9c1efaa90cd4 (diff) |
QHostInfo: Make getaddrinfo() mandatory
All systems must implement it by now. If there's any system still
without it, that means it has no IPv6 support, so they can disable
QtNetwork entirely.
[ChangeLog][Deprecation Notice] Starting with Qt 5.10, IPv6 support is
mandatory for all platforms. Systems without proper IPv6 support, such
as the getaddrinfo() function or the proper socket address structures,
will not be able to build QtNetwork anymore.
Change-Id: I3868166e5efc45538544fffd14d8c28046f9191b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/manual/network_remote_stresstest')
-rw-r--r-- | tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp b/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp index 99e3d148df..f5c3bfde34 100644 --- a/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp +++ b/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp @@ -156,7 +156,7 @@ void tst_NetworkRemoteStressTest::clearManager() bool nativeLookup(const char *hostname, int port, QByteArray &buf) { -#if !defined(QT_NO_GETADDRINFO) && 0 +#if 0 addrinfo *res = 0; struct addrinfo hints; memset(&hints, 0, sizeof(hints)); |