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

Suggestion for adding support for QMAKE_LFLAGS_SONAME in XCode

    XMLWordPrintable

Details

    Description

      If you want to incorporate dynamic libraries as part of your Mac OS X
      application bundle (the application directory), then you place these
      into a directory called Frameworks, a subdirectory of the application
      bundle.

      This works if using qmake and Makefiles,
      The application finds these dynamic libraries if the libraries have an
      install name of "@executable_path/../Frameworks/libname.dylib.
      If you use qmake and Makefiles, use the QMAKE_LFLAGS_SONAME setting:
      QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/"

      It would be nice if this was supported when generating Xcode. As it is this does not work in Xcode and it is required to run install_name manually afterwards to patch the binary so it can find the dylib in the app.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes