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 <o...@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.

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to