diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-04-05 11:11:23 +0200 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-04-05 14:30:25 +0200 |
| commit | 1396950daccded4b442c8a9d08aa10912a7641cf (patch) | |
| tree | 24d2a64639046f87dc9ee9a5a0ac901cace2eed9 /sources/pyside-tools/deploy_lib/config.py | |
| parent | 5af78c7c420afebee05535130b059aa2809258b2 (diff) | |
Deployment: Adapt checking for plugin dependencies
- Check if package e.g. PySide6_AddOns is installed before checking for
the .json file
- If a package is missing, add log warning for the missing package.
If the .json file is missing inspite of the package being installed,
then raise a proper warning.
Pick-to: 6.7 6.7.0
Task-number: PYSIDE-1612
Change-Id: Ia65b06df15df7b334438f439762b135d9f61981d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@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 2ca6ff895..d59dd92ad 100644 --- a/sources/pyside-tools/deploy_lib/config.py +++ b/sources/pyside-tools/deploy_lib/config.py @@ -391,7 +391,8 @@ class DesktopConfig(Config): if self.get_value("qt", "plugins"): self._qt_plugins = self.get_value("qt", "plugins").split(",") else: - self.qt_plugins = self.dependency_reader.find_plugin_dependencies(self.modules) + self.qt_plugins = self.dependency_reader.find_plugin_dependencies(self.modules, + python_exe) self._permissions = [] if sys.platform == "darwin": |
