diff options
Diffstat (limited to 'sources/pyside-tools')
-rw-r--r-- | sources/pyside-tools/deploy.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/pyside-tools/deploy.py b/sources/pyside-tools/deploy.py index a9d2b9d67..c93d90584 100644 --- a/sources/pyside-tools/deploy.py +++ b/sources/pyside-tools/deploy.py @@ -29,6 +29,7 @@ from __future__ import annotations """ +import sys import argparse import logging import traceback @@ -133,6 +134,15 @@ def main(main_file: Path = None, name: str = None, config_file: Path = None, ini logging.info(f"[DEPLOY]: Config file {config.config_file} created") return + # If modules contain QtSql and the platform is macOS, then pyside6-deploy will not work + # currently. The fix ideally will have to come from Nuitka. + # See PYSIDE-2835 + # TODO: Remove this check once the issue is fixed in Nuitka + # Nuitka Issue: https://github.com/Nuitka/Nuitka/issues/3079 + if "Sql" in config.modules and sys.platform == "darwin": + print("[DEPLOY] QtSql Application is not supported on macOS with pyside6-deploy") + return + try: # create executable if not dry_run: |