[cmake-developers] fix-OSX-bundle-rpaths-and-Qt5 topic
Adam Strzelecki
ono at java.pl
Tue Oct 21 11:34:23 EDT 2014
Done. Tested with Qt5 & Qt4, pushed as f9fcea6803f636adfc9f5755d9c92c802cdc2fb6 to stage/fix-OSX-bundle-rpaths-and-Qt5 (last commit to this branch).
@Brad: Shall I make it as separate branch and merge for staging, or you can simply cherry-pick it?
--Adam
commit f9fcea6803f636adfc9f5755d9c92c802cdc2fb6
Author: Adam Strzelecki <ono at java.pl>
Date: Tue Oct 21 16:42:33 2014 +0200
Ensure framework symlinks and Info.plist exist
This restores Qt SDK 4.8 and >= 10.6.5 codesign compatibility improving
embedding frameworks using correct bundle layout described at:
https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
1. If Versions/VERSION/Resources/Info.plist is missing, well known incorrect
locations are checked for Info.plist and Info.plist is copied from there,
otherwise codesign will fail.
2. Root framework symlinks to binary and Resources are restored to point inside
Versions/Current, otherwise Qt 4.8 looking for Resources/ in framework root
will fail.
More information about the cmake-developers
mailing list