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

XCode 3.0 shared library install name is not set correctly

    XMLWordPrintable

Details

    Description

      In the .pro file I have the following defined:
      QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}$$DESTDIR/

      This expands correctly when building with a Makefile.
      the result is:
      -install_name testApp.app/Contents/Frameworks/lib216872.1.dylib

      but using the Xcode 3.0 project it does not work correctly.
      The result is:
      -install_name /lib216872.1.dylib

      It worked with Qt 4.4.0 under XCode 2.5.0.

      Reproducible with the following pro file:

      TEMPLATE = lib

      win32:CONFIG+=console
      DESTDIR = testApp.app/Contents/Frameworks

      TARGET =
      DEPENDPATH += .
      INCLUDEPATH += .

      1. Input
        SOURCES += main.cpp
        QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}$$DESTDIR/

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes