Disable the dnslookup feature for INTEGRITY
The QtNetwork project file excludes the dnslookup source files for Unix, despite the dnslookup feature is always on. This inconsistency leads to linker errors when building applications against QtNetwork: (error #412) unresolved symbols: 1 QDnsLookupRunnable::query(int, const QByteArray &, const QHostAddress &, QDnsLookupReply *) from libQt6Network.a(qdnslookup.cpp.o) Turn the feature off for INTEGRITY and remove the condition from the project file. Pick-to: 6.2 Change-Id: If086da51ca343f598eb273236e7b6338f5da1e97 Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>bb10
parent
51e8d3592a
commit
b88095e644
|
|
@ -349,7 +349,7 @@ qt_internal_extend_target(Network CONDITION QT_FEATURE_openssl AND QT_FEATURE_ss
|
|||
WrapOpenSSLHeaders::WrapOpenSSLHeaders
|
||||
)
|
||||
|
||||
qt_internal_extend_target(Network CONDITION QT_FEATURE_dnslookup AND UNIX AND NOT ANDROID AND NOT INTEGRITY
|
||||
qt_internal_extend_target(Network CONDITION QT_FEATURE_dnslookup AND UNIX AND NOT ANDROID
|
||||
SOURCES
|
||||
kernel/qdnslookup_unix.cpp
|
||||
)
|
||||
|
|
|
|||
|
|
@ -374,6 +374,7 @@ qt_feature("dnslookup" PUBLIC
|
|||
SECTION "Networking"
|
||||
LABEL "QDnsLookup"
|
||||
PURPOSE "Provides API for DNS lookups."
|
||||
CONDITION NOT INTEGRITY
|
||||
)
|
||||
qt_feature("gssapi" PUBLIC
|
||||
SECTION "Networking"
|
||||
|
|
|
|||
Loading…
Reference in New Issue