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

MAC pyside6-deploy build fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.1
    • Tooling
    • None
    • macOS

    Description

      1. pyside6-project new-quick qml_test
      2. cd qml_test
      3. pyside6-deploy main.py
        FATAL: Error, failed to find path @rpath/Qt3DQuickScene3D.framework/Versions/A/Qt3DQuickScene3D (resolved DLL to /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/site-packages/PySide6/Qt/qml/QtQuick/Scene3D/Qt3DQuickScene3D.framework/Versions/A/Qt3DQuickScene3D) for /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/site-packages/PySide6/Qt/qml/QtQuick/Scene3D/libqtquickscene3dplugin.dylib 
        from 'PySide6', please report the bug.
        
        [DEPLOY] Exception occurred: Traceback (most recent call last):
        
          File "/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/site-packages/PySide6/scripts/deploy_lib/commands.py", line 27, in run_command
        
            subprocess.check_call(command, shell=is_windows)
        
          File "/Users/qiguangsen1/.pyenv/versions/3.12.2/lib/python3.12/subprocess.py", line 413, in check_call
        
            raise CalledProcessError(retcode, cmd)
        
        subprocess.CalledProcessError: Command '[PosixPath('/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/bin/python'), '-m', 'nuitka', '/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/deployment', '--quiet', '--noinclude-qt-translations', '--static-libpython=no', '--standalone', '--macos-create-app-bundle', '--include-data-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env=./env', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--noinclude-dlls=*.webp', '--include-data-files=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/main.qml=./main.qml', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6WebEngine*', '--noinclude-dlls=*/qml/QtQuickEffectMaker/*', '--macos-app-icon=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/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/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/site-packages/PySide6/scripts/deploy.py", line 154, in main
        
            command_str = nuitka.create_executable(source_file=config.source_file,
        
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        
          File "/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/site-packages/PySide6/scripts/deploy_lib/nuitka_helper.py", line 185, in create_executable
        
            command_str, _ = run_command(command=command, dry_run=dry_run)
        
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        
          File "/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/site-packages/PySide6/scripts/deploy_lib/commands.py", line 33, in run_command
        
            raise RuntimeError(
        
        RuntimeError: [DEPLOY] Command /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/bin/python -m nuitka /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/main.py --follow-imports --enable-plugin=pyside6 --output-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/deployment --quiet --noinclude-qt-translations --static-libpython=no --standalone --macos-create-app-bundle --include-data-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env=./env --noinclude-dlls=*.cpp.o --noinclude-dlls=*.qsb --noinclude-dlls=*.webp --include-data-files=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/main.qml=./main.qml --noinclude-dlls=libQt6Charts* --noinclude-dlls=libQt6Sensors* --noinclude-dlls=libQt6WebEngine* --noinclude-dlls=*/qml/QtQuickEffectMaker/* --macos-app-icon=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/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/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/bin/python'), '-m', 'nuitka', '/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/deployment', '--quiet', '--noinclude-qt-translations', '--static-libpython=no', '--standalone', '--macos-create-app-bundle', '--include-data-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env=./env', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--noinclude-dlls=*.webp', '--include-data-files=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/main.qml=./main.qml', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6WebEngine*', '--noinclude-dlls=*/qml/QtQuickEffectMaker/*', '--macos-app-icon=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/qml_test/env/lib/python3.12/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
        

      Attachments

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

        Activity

          People

            shpremna Shyamnath Premnadh
            bbg QI QI
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes