summaryrefslogtreecommitdiffstats
path: root/src/network/configure.cmake
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2020-02-12 14:09:29 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2020-02-20 21:41:54 +0100
commit4f076db3d2e2e27cc56029fe878056ee79def56f (patch)
tree739432aca7f3f63929f16b6bc56943bea26e8182 /src/network/configure.cmake
parentba50d27e7624cdfe90124b393576020de7608332 (diff)
Remove QUrl::topLevelDomain
And move the actual implementation from corelib/io to network/kernel sub-module. Fixes: QTBUG-80308 Change-Id: I554b05bae3552c68e1e1a405c169366ee19120b2 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/network/configure.cmake')
-rw-r--r--src/network/configure.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/configure.cmake b/src/network/configure.cmake
index 2f26396524..a3fad4d226 100644
--- a/src/network/configure.cmake
+++ b/src/network/configure.cmake
@@ -358,3 +358,8 @@ qt_feature("netlistmgr" PRIVATE
PURPOSE "Use Network List Manager to keep track of network connectivity"
CONDITION WIN32 AND TEST_netlistmgr
)
+qt_feature("topleveldomain" PUBLIC
+ SECTION "Networking"
+ LABEL "qTopLevelDomain()"
+ PURPOSE "Provides support for extracting the top level domain from URLs. If enabled, a binary dump of the Public Suffix List (http://www.publicsuffix.org, Mozilla License) is included. The data is then also used in QNetworkCookieJar::validateCookie."
+)