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

macdeployqt does not copy frameworks already linked as @rpath

    XMLWordPrintable

Details

    • 75b595a6867652cc2b3ff8b2749f91236b6cb58c

    Description

      If a Qt framework is linked into an executable in 5.5 it gets linked in using the @rpath mechanism (as shown by otool -L immediately after linking).

      If macdeployqt is used to deploy, it does not copy (to the bundle) any Qt framework that is already linked as @rpath. This makes macdeployqt fail to perform its most basic job.

      If I modify the executable with install_name_tool -change @rpath... etc. to a hardcoded path; then run macdeployqt, it works fine (i.e. copies the Qt files to the bundle).

      Attachments

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

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            cmeyer Chris Meyer
            Votes:
            12 Vote for this issue
            Watchers:
            32 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes