From be623313dbb024cd067c1d74a7da11b9eb550473 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Thu, 14 Sep 2023 22:49:15 -0700 Subject: [PATCH] Reduce Qt6 binary size --- src/build_tools/build_qt.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/build_tools/build_qt.py b/src/build_tools/build_qt.py index e493279ee9..7c6caf8528 100755 --- a/src/build_tools/build_qt.py +++ b/src/build_tools/build_qt.py @@ -265,13 +265,43 @@ def make_configure_options(args: argparse.Namespace) -> list[str]: '-silent', '-no-cups', '-no-dbus', + '-no-feature-animation', + '-no-feature-androiddeployqt', + '-no-feature-calendarwidget', + '-no-feature-completer', + '-no-feature-concatenatetablesproxymodel', '-no-feature-concurrent', + '-no-feature-cssparser', + '-no-feature-cups', + '-no-feature-dial', + '-no-feature-effects', + '-no-feature-filesystemwatcher', + '-no-feature-fontcombobox', + '-no-feature-fontdialog', '-no-feature-imageformatplugin', + '-no-feature-image_heuristic_mask', + '-no-feature-islamiccivilcalendar', + '-no-feature-jalalicalendar', + '-no-feature-mdiarea', + '-no-feature-mimetype', '-no-feature-network', + '-no-feature-qmake', + '-no-feature-sha3-fast', '-no-feature-sql', '-no-feature-sqlmodel', + '-no-feature-style-stylesheet', '-no-feature-testlib', + '-no-feature-textbrowser', + '-no-feature-texthtmlparser', + '-no-feature-textmarkdownreader', + '-no-feature-textmarkdownwriter', + '-no-feature-textodfwriter', + '-no-feature-timezone', + '-no-feature-undoview', '-no-feature-xml', + '-no-feature-whatsthis', + '-no-feature-windeployqt', + '-no-feature-wizard', '-no-icu', '-no-opengl', '-no-sql-db2',