aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/deploy_lib/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside-tools/deploy_lib/__init__.py')
-rw-r--r--sources/pyside-tools/deploy_lib/__init__.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/sources/pyside-tools/deploy_lib/__init__.py b/sources/pyside-tools/deploy_lib/__init__.py
index 8c5d8b4ef..40a7535db 100644
--- a/sources/pyside-tools/deploy_lib/__init__.py
+++ b/sources/pyside-tools/deploy_lib/__init__.py
@@ -17,7 +17,18 @@ else:
DEFAULT_APP_ICON = str((Path(__file__).parent / f"pyside_icon{IMAGE_FORMAT}").resolve())
-from .commands import run_command
+
+def get_all_pyside_modules():
+ """
+ Returns all the modules installed with PySide6
+ """
+ # They all start with `Qt` as the prefix. Removing this prefix and getting the actual
+ # module name
+ import PySide6
+ return [module[2:] for module in PySide6.__all__]
+
+
+from .commands import run_command, run_qmlimportscanner
from .nuitka_helper import Nuitka
from .python_helper import PythonExecutable, find_pyside_modules
from .config import BaseConfig, Config