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

Hardcoded library paths in osx installation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.0.0 Beta 2
    • None
    • Mac OSX 10.8
    • macOS

    Description

      I'm testing qt5beta2 snapshots from http://origin.releases.qt-project.org/digia/5.0.0_beta2
      Most Qt5 frameworks when installed gets their library path patched correctly, example:

      Lapidus:lib fab$ otool -L QtGui.framework/QtGui
      QtGui.framework/QtGui:
      /Users/fab/Qt5.0.0beta2/5.0.0-beta2/clang_64/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.0.0, current version 5.0.0)
      /Users/fab/Qt5.0.0beta2/5.0.0-beta2/clang_64/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.0.0, current version 5.0.0)
      /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 17.0.0)
      /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
      /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
      /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
      /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
      /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
      /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 635.19.0)

      The patching doesn't work properly at least on QtSvg framework, where we can still find the hardcoded compilation path of the build machine:

      Lapidus:lib fab$ otool -L QtSvg.framework/QtSvg
      QtSvg.framework/QtSvg:
      /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-RELEASE5LGPL-OSX106/qt5_workdir/w/s/qtbase/qtbase/lib/QtSvg.framework/Versions/5/QtSvg (compatibility version 5.0.0, current version 5.0.0)
      /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-RELEASE5LGPL-OSX106/qt5_workdir/w/s/qtbase/qtbase/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.0.0, current version 5.0.0)
      /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-RELEASE5LGPL-OSX106/qt5_workdir/w/s/qtbase/qtbase/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.0.0, current version 5.0.0)
      /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-RELEASE5LGPL-OSX106/qt5_workdir/w/s/qtbase/qtbase/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.0.0, current version 5.0.0)
      /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
      /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
      /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
      /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
      /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)

      Attachments

        Issue Links

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

          Activity

            People

              kkalland Kim Motoyoshi Kalland (Inactive)
              fbas Fabio Bas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes