diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-08-22 14:48:57 +0200 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-08-23 12:25:16 +0200 |
| commit | 769aa462a8b3f1e8ab4dee1b2357e9431211ef2d (patch) | |
| tree | 7819f831757a1d2bd1e4098b19f70f7a4ca29c6c /sources/pyside-tools/deploy_lib/config.py | |
| parent | 19c693497cf040d283c65c1fa9dc7fb7ecd45310 (diff) | |
Deployment: make run_qmlimportscanner() parameters hashable
- Required for @lru_cache decorator
Task-number: PYSIDE-1612
Pick-to: 6.7
Change-Id: I5e62ad93f20f7000e2e0ef37617aa756b3272314
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy_lib/config.py')
| -rw-r--r-- | sources/pyside-tools/deploy_lib/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside-tools/deploy_lib/config.py b/sources/pyside-tools/deploy_lib/config.py index 05806af75..e4d3d22be 100644 --- a/sources/pyside-tools/deploy_lib/config.py +++ b/sources/pyside-tools/deploy_lib/config.py @@ -318,7 +318,8 @@ class Config(BaseConfig): def _find_and_set_excluded_qml_plugins(self): if self.qml_files: - self.qml_modules = set(run_qmlimportscanner(qml_files=self.qml_files, + self.qml_modules = set(run_qmlimportscanner(qml_files=tuple(self.qml_files), + # tuple is needed to make it hashable dry_run=self.dry_run)) self.excluded_qml_plugins = EXCLUDED_QML_PLUGINS.difference(self.qml_modules) |
