From 36ba00aa5cddf27a670b10ea6d9775933ee87dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wierci=C5=84ski?= Date: Thu, 16 Feb 2023 14:19:19 +0100 Subject: [PATCH] Make feature `topleveldomain` optional in wasm build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This feature should not be needed in most wasm applications. Disabling it by default can save ~50KB in QtQuick apps. Task-number: QTBUG-110843 Change-Id: Iac0a51bfd016db1da40b59ed32e3faf6ad4267e0 Reviewed-by: Morten Johan Sørvig Reviewed-by: Mikołaj Boc Reviewed-by: Edward Welbourne --- src/network/configure.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/configure.cmake b/src/network/configure.cmake index aef7f150b9d..32603dff954 100644 --- a/src/network/configure.cmake +++ b/src/network/configure.cmake @@ -333,7 +333,7 @@ qt_feature("topleveldomain" PUBLIC SECTION "Networking" LABEL "qIsEffectiveTLD()" PURPOSE "Provides support for checking if a domain is a top level domain. If enabled, a binary dump of the Public Suffix List (http://www.publicsuffix.org, Mozilla License) is included. The data is used in QNetworkCookieJar." - + AUTODETECT NOT WASM DISABLE INPUT_publicsuffix STREQUAL "no" ) qt_feature("publicsuffix-qt" PRIVATE