68b625901f
There's little need for us to dynamically load it. The reasons why that was necessary aren't in the public history (Qt 4.5 already had it[1]). I remember writing the code in 2007-2008, I just don't remember why. On modern Linux and FreeBSD, there's no libresolv.so any more and those symbols have been rolled up into libc.so. It's still necessary on Darwin systems, so this commit introduces WrapResolv. It also resolves the unity build issues relating to libresolv symbols. [1] https://code.qt.io/cgit/qt/qt.git/tree/src/network/kernel/qhostinfo_unix.cpp?h=v4.5.1 Task-number: QTBUG-109394 Change-Id: Ic5799e4d000b6c9395109e008780643bac52122b Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
24 lines
719 B
CMake
24 lines
719 B
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
if(WIN32 OR TEST_res_ninit)
|
|
add_subdirectory(qdnslookup)
|
|
add_subdirectory(qdnslookup_appless)
|
|
endif()
|
|
if(QT_FEATURE_networkinterface)
|
|
add_subdirectory(qnetworkproxyfactory)
|
|
add_subdirectory(qnetworkinterface)
|
|
endif()
|
|
add_subdirectory(qnetworkproxy)
|
|
add_subdirectory(qnetworkdatagram)
|
|
add_subdirectory(qnetworkaddressentry)
|
|
add_subdirectory(qhostaddress)
|
|
if(QT_FEATURE_private_tests AND NOT MACOS AND NOT INTEGRITY)
|
|
add_subdirectory(qhostinfo)
|
|
endif()
|
|
if(QT_FEATURE_private_tests)
|
|
add_subdirectory(qauthenticator)
|
|
add_subdirectory(qnetworkinformation)
|
|
add_subdirectory(qnetworkinformation_appless)
|
|
endif()
|