Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107117

Macdeployqt failed to deploy QtWebEngine

    XMLWordPrintable

Details

    • macOS

    Description

      Hi,

      For information : Qt 6.3.2 is install with the maintenance tool.

      I'm trying to deploy the exemple project simplebrowser with macdeployqt.

      What I do in the following PATH : /Users/builder/Qt/Examples/Qt-6.3.2/webenginewidgets/simplebrowser

      # /Users/builder/Qt/6.3.2/macos/bin/qmake 
      # make
      # /Users/builder/Qt/6.3.2/macos/bin/macdeployqt simplebrowser.app
      

      If I launch it on the build machine : it works
      If I launch it on another MAC : it fails with the following :

      -------------------------------------
      Translated Report (Full Report Below)
      -------------------------------------Process:               QtWebEngineProcess [4497]
      Path:                  /Users/USER/simplebrowser.app/Contents/Frameworks/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess
      Identifier:            org.qt-project.Qt.QtWebEngineProcess
      Version:                ()
      Code Type:             X86-64 (Native)
      Parent Process:        simplebrowser [4496]
      Responsible:           simplebrowser [4496]
      User ID:               501Date/Time:             2022-09-30 06:08:40.8110 -0700
      OS Version:            macOS 12.6 (21G115)
      Report Version:        12
      Anonymous UUID:        31EE9593-5EB1-7576-32F3-E3A98C50CBAFSleep/Wake UUID:       917566F0-1FB2-4F29-BAC6-299246707A7ETime Awake Since Boot: 170000 secondsSystem Integrity Protection: disabledCrashed Thread:        0Exception Type:        EXC_CRASH (SIGABRT)
      Exception Codes:       0x0000000000000000, 0x0000000000000000
      Exception Note:        EXC_CORPSE_NOTIFYTermination Reason:    Namespace DYLD, Code 1 Library missing
      Library not loaded: '@rpath/QtWebEngineCore.framework/Versions/A/QtWebEngineCore'
      Referenced from: '/Users/USER/simplebrowser.app/Contents/Frameworks/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess'
      Reason: tried: '' (no such file), '' (no such file), '' (no such file), '' (no such file)
      (terminated at launch; ignore backtrace)
      

      Thanks a lot for your answers

      Attachments

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

        Activity

          People

            mibrunin Michael Bruning
            narcdev Nicolas BRAINI
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes