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

[macOS] macdeployqt -use-debug-libs is broken in Qt 5.13

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.13.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      macOS

      Description

      When macdeployqt is used with -use-debug-libs the resulting binary crashes. For some reason
      QtWidgets_debug tries to load QtGui (not QtGui_debug).

      Exception Type:        EXC_CRASH (SIGABRT)
      Exception Codes:       0x0000000000000000, 0x0000000000000000
      Exception Note:        EXC_CORPSE_NOTIFY
      
      Termination Reason:    DYLD, [0x1] Library missing
      
      Application Specific Information:
      dyld: launch, loading dependent libraries
      
      Dyld Error Message:
        Library not loaded: @rpath/QtGui.framework/Versions/5/QtGui
        Referenced from: /Users/me/Projects/myApp.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets_debug
        Reason: image not found
      

        Attachments

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

          Activity

            People

            Assignee:
            sorvig Morten Sørvig
            Reporter:
            crystalidea Steven (crystalidea)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes