Details
Description
- pyside6-project new-quick qml_test
- cd qml_test
- pyside6-deploy main.py
Error log is
❯ pyside6-deploy main.py Collecting Nuitka==2.1 Using cached Nuitka-2.1-cp311-cp311-macosx_14_0_arm64.whl Collecting ordered-set>=4.1.0 (from Nuitka==2.1) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting zstandard>=0.15 (from Nuitka==2.1) Using cached zstandard-0.22.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (2.9 kB) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Using cached zstandard-0.22.0-cp311-cp311-macosx_11_0_arm64.whl (703 kB) Installing collected packages: zstandard, ordered-set, Nuitka Successfully installed Nuitka-2.1 ordered-set-4.1.0 zstandard-0.22.0 FATAL: Error, failed to find path @rpath/QtVirtualKeyboardSettings.framework/Versions/A/QtVirtualKeyboardSettings (resolved DLL to /Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/Qt/qml/QtQuick/VirtualKeyboard/Components/QtVirtualKeyboardSettings.framework/Versions/A/QtVirtualKeyboardSettings) for /Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/Qt/qml/QtQuick/VirtualKeyboard/Components/libqtvkbcomponentsplugin.dylib from 'PySide6', please report the bug. [DEPLOY] Exception occurred: Traceback (most recent call last): File "/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/commands.py", line 24, in run_command subprocess.check_call(command, shell=is_windows) File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '[PosixPath('/Users/allen/.virtualenvs/venv_qt/bin/python'), '-m', 'nuitka', '/Users/allen/Documents/PythonProjects/qml_test/main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/allen/Documents/PythonProjects/qml_test/deployment', '--quiet', '--noinclude-qt-translations', '--standalone', '--macos-create-app-bundle', '--include-data-files=/Users/allen/Documents/PythonProjects/qml_test/main.qml=./main.qml', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Quick3D*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6Test*', '--noinclude-dlls=libQt6WebEngine*', '--macos-app-icon=/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns', '--include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy.py", line 131, in main command_str = nuitka.create_executable(source_file=config.source_file, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/nuitka_helper.py", line 103, in create_executable command_str, _ = run_command(command=command, dry_run=dry_run) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/commands.py", line 30, in run_command raise RuntimeError( RuntimeError: [DEPLOY] Command /Users/allen/.virtualenvs/venv_qt/bin/python -m nuitka /Users/allen/Documents/PythonProjects/qml_test/main.py --follow-imports --enable-plugin=pyside6 --output-dir=/Users/allen/Documents/PythonProjects/qml_test/deployment --quiet --noinclude-qt-translations --standalone --macos-create-app-bundle --include-data-files=/Users/allen/Documents/PythonProjects/qml_test/main.qml=./main.qml --noinclude-dlls=libQt6Charts* --noinclude-dlls=libQt6Quick3D* --noinclude-dlls=libQt6Sensors* --noinclude-dlls=libQt6Test* --noinclude-dlls=libQt6WebEngine* --macos-app-icon=/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns --include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph failed with error Command '[PosixPath('/Users/allen/.virtualenvs/venv_qt/bin/python'), '-m', 'nuitka', '/Users/allen/Documents/PythonProjects/qml_test/main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/allen/Documents/PythonProjects/qml_test/deployment', '--quiet', '--noinclude-qt-translations', '--standalone', '--macos-create-app-bundle', '--include-data-files=/Users/allen/Documents/PythonProjects/qml_test/main.qml=./main.qml', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Quick3D*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6Test*', '--noinclude-dlls=libQt6WebEngine*', '--macos-app-icon=/Users/allen/.virtualenvs/venv_qt/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns', '--include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph']' returned non-zero exit status 1. and return_code1 [DEPLOY] Executed file created in /Users/allen/Documents/PythonProjects/qml_test/main.app
Attachments
For Gerrit Dashboard: PYSIDE-2750 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
561001,5 | PySide6: Add virtualkeyboarsettings to wheel | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
561097,2 | PySide6: Add virtualkeyboarsettings to wheel | 6.7 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
561238,2 | PySide6: Add virtualkeyboarsettings to wheel | tqtc/lts-6.5 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |