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

Frameworks references non-existent rpaths after macdeployqt

    XMLWordPrintable

Details

    • macOS

    Description

      From the cloned bug:

      I also have a ticket open with Apple developer support, and they are pointing out some additional issues (that are not making things fail completely for me - at the moment - though):
      And it is because you are referencing rpaths outside your bundle. There's about 100 instances of this issue so I will attach a log of all of them I see. Here are a few examples:

      xxx.app/Contents/PlugIns/quick/libqtquickcontrols2basicstyleimplplugin.dylib: Mach-O declares an absolute rpath (`/Users/qt/work/install/lib`). [absoluteRPath]
      xxx.app/Contents/PlugIns/quick/libqtquickcontrols2basicstyleplugin.dylib: Mach-O declares an absolute rpath (`/Users/qt/work/install/lib`). [absoluteRPath]

      xxx.app/Contents/PlugIns/sqldrivers/libqsqlpsql.dylib: Mach-O imports library from unexpected absolute path (`/Applications/Postgres.app/Contents/Versions/14/lib/libpq.5.dylib`). [absoluteImports]
       

      In this case I'm not even using any of the SQL things, which just end up being added by macdeployqt. In addition, I have nothing installed at "/Users/qt/" in first place. Entire Qt is installed under /opt/Qt-x.x.x and the "/Users/qt" path doesn't exist on my development systems.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes