diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-02-23 14:29:42 +0100 |
---|---|---|
committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-03-07 09:34:12 +0100 |
commit | b8d29e0381235785f1726a8cc28b8b7579c32e03 (patch) | |
tree | be9117a904fa7ec1e3713b442b8446a9f82802f0 /sources/pyside-tools/deploy.py | |
parent | 94c62891f9aa28c53f8c0a86904499ead4d52aad (diff) |
Desktop Deployment: Optimize the plugins included
- Applications that use certain modules like Multimedia does not work
because the plugins for it were not included. However, including all
the plugins can make the application executable huge. This patch
filters out the necessary plugins by looking at
PySide6_Essentials.json and PySide6_Addons.json shipped with the
wheels and only bundles these necessary plugins with the application.
- Adjust tests.
Task-number: PYSIDE-1612
Task-number: PYSIDE-2597
Change-Id: I35c74907a1782ae5101fb7c0861adcb97db5792d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy.py')
-rw-r--r-- | sources/pyside-tools/deploy.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside-tools/deploy.py b/sources/pyside-tools/deploy.py index 6cb6d4d9c..b54943ddf 100644 --- a/sources/pyside-tools/deploy.py +++ b/sources/pyside-tools/deploy.py @@ -120,6 +120,7 @@ def main(main_file: Path = None, name: str = None, config_file: Path = None, ini command_str = nuitka.create_executable(source_file=config.source_file, extra_args=config.extra_args, qml_files=config.qml_files, + qt_plugins=config.qt_plugins, excluded_qml_plugins=config.excluded_qml_plugins, icon=config.icon, dry_run=dry_run) |