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

Deployed third party library points to the original location

    XMLWordPrintable

Details

    • macOS
    • 6dbe45c96a (qt/qtbase/dev) 6dbe45c96a (qt/tqtc-qtbase/dev) e8a7b3da0b (qt/qtbase/6.3) e8a7b3da0b (qt/tqtc-qtbase/6.3) 7ea9a6f3ad (qt/qtbase/6.4) 7ea9a6f3ad (qt/tqtc-qtbase/6.4)

    Description

      When including third party library such as ffmpeg dynamic library, macdeployqt does change the paths for the application so that it references the ffmpeg library inside the frameworks folder and move the library into the frameworks folder.

      However, macdeployqt does not run the install_name_tool command on the ffmpeg library to resolve its internal dependencies. Running otool on the deployed ffmpeg library shows it points to the original location.

      Hence, the application cannot find the deployed ffmpeg library and crashes with
      "(no such file)Library not loaded".

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: