Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3111

pyside6-deploy on macOS 15 error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.9.0
    • PySide
    • None
    • device: macbook air m4
      system: macOS 15.3.2
      python: 3.10.17
      pyside: 6.9.0
    • macOS
    • macOS

    Description

      I can run Getting Started Page application success by `python qt_widget_demo.py `, but run `pyside6-deploy qt_widget_demo.py` to deploy application failed:

      FATAL: Error, failed to find path @rpath/QtVirtualKeyboardQml.framework/Versions/A/QtVirtualKeyboardQml (resolved DLL to /Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/Qt/qml/QtQuick/VirtualKeyboard/QtVirtualKeyboardQml.framework/Versions/A/QtVirtualKeyboardQml) for /Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/Qt/qml/QtQuick/VirtualKeyboard/libqtvkbplugin.dylib from 'PySide6', please report the bug.
      [DEPLOY] Exception occurred: Traceback (most recent call last):
        File "/Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/scripts/deploy_lib/commands.py", line 27, in run_command
          subprocess.check_call(command, shell=is_windows)
        File "/Users/guzb/.local/share/uv/python/cpython-3.10.17-macos-aarch64-none/lib/python3.10/subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '[PosixPath('/Users/guzb/Projects/many-demos/pyside-demo/.venv/bin/python3'), '-m', 'nuitka', '/Users/guzb/Projects/many-demos/pyside-demo/qt_widget_demo.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/guzb/Projects/many-demos/pyside-demo/deployment', '--quiet', '--noinclude-qt-translations', '--standalone', '--macos-create-app-bundle', '--include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/Example=./Example', '--include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/.venv=./.venv', '--include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/.idea=./.idea', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6WebEngine*', '--noinclude-dlls=*/qml/QtQuickEffectMaker/*', '--macos-app-icon=/Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns', '--include-qt-plugins=networkinformation,platforminputcontexts,qml,qmllint,qmltooling']' returned non-zero exit status 1.
      During handling of the above exception, another exception occurred:
      Traceback (most recent call last):
        File "/Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/scripts/deploy.py", line 153, in main
          command_str = nuitka.create_executable(source_file=config.source_file,
        File "/Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/scripts/deploy_lib/nuitka_helper.py", line 178, in create_executable
          command_str, _ = run_command(command=command, dry_run=dry_run)
        File "/Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/scripts/deploy_lib/commands.py", line 33, in run_command
          raise RuntimeError(
      RuntimeError: [DEPLOY] Command /Users/guzb/Projects/many-demos/pyside-demo/.venv/bin/python3 -m nuitka /Users/guzb/Projects/many-demos/pyside-demo/qt_widget_demo.py --follow-imports --enable-plugin=pyside6 --output-dir=/Users/guzb/Projects/many-demos/pyside-demo/deployment --quiet --noinclude-qt-translations --standalone --macos-create-app-bundle --include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/Example=./Example --include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/.venv=./.venv --include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/.idea=./.idea --noinclude-dlls=*.cpp.o --noinclude-dlls=*.qsb --noinclude-dlls=libQt6Charts* --noinclude-dlls=libQt6Sensors* --noinclude-dlls=libQt6WebEngine* --noinclude-dlls=*/qml/QtQuickEffectMaker/* --macos-app-icon=/Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns --include-qt-plugins=networkinformation,platforminputcontexts,qml,qmllint,qmltooling failed with error Command '[PosixPath('/Users/guzb/Projects/many-demos/pyside-demo/.venv/bin/python3'), '-m', 'nuitka', '/Users/guzb/Projects/many-demos/pyside-demo/qt_widget_demo.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/guzb/Projects/many-demos/pyside-demo/deployment', '--quiet', '--noinclude-qt-translations', '--standalone', '--macos-create-app-bundle', '--include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/Example=./Example', '--include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/.venv=./.venv', '--include-data-dir=/Users/guzb/Projects/many-demos/pyside-demo/.idea=./.idea', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6WebEngine*', '--noinclude-dlls=*/qml/QtQuickEffectMaker/*', '--macos-app-icon=/Users/guzb/Projects/many-demos/pyside-demo/.venv/lib/python3.10/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns', '--include-qt-plugins=networkinformation,platforminputcontexts,qml,qmllint,qmltooling']' returned non-zero exit status 1. and return_code1
      

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shpremna Shyamnath Premnadh
            karlio Gu ZB
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes