macdeployqtplus can't delpoy Qt 4.6 Frameworks #2015

issue themighty1 opened this issue on November 15, 2012
  1. themighty1 commented at 8:08 PM on November 15, 2012: none

    I'm on OSX 10.5 with qt-mac-opensource-4.6.0.dmg from nokia's site. Qt Frameworks are in /Library/Frameworks The strange thing is that the linker doesn't write the full path to the Qt Frameworks into the executable, like so:

    otool -L ./Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt ...<skip>... QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.0) QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.0) ...<skip>...

    Note that there is no / in front of QtGui and QtCore. macdeployqtplus apparently can't parse such a line and fails to deploy.

    My suggestion would be to modify macdeployqtplus so that when encountering a path which starts with no "/" but with Qt*, macdeployqtplus prepends /Library/Frameworks. Also macdeployqtplus can't find the plugins directory which by default is in /Developer/Applications/Qt/Plugins

  2. gavinandresen commented at 8:24 PM on November 15, 2012: contributor

    Patches welcome: I don't have an OSX 10.5 machine to test a fix, but I can make sure that a fix that works on 10.5 doesn't break deployment using 10.6.

  3. laanwj commented at 3:28 PM on November 11, 2013: member

    A patch for this was merged, so I assume this was solved. Closing.

  4. laanwj closed this on Nov 11, 2013

  5. KolbyML referenced this in commit 860064b890 on Dec 5, 2020
  6. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me