From a58505987ca43850cec8c8f33665feb33c1187fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Wed, 24 Sep 2014 12:06:47 +0200 Subject: Fix framework bundle deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rework copyFramework(). Split out dylib deployment into copyDylib(). Remove the special symlink handling. Always create symlinks from "Current" to the actual version. This ensures we're compatible with Apple's framework bundle spec [1]. It also makes the 'codesign' utility happy, easing the step to sandbox Qt OS X applications. [1]: https://developer.apple.com/library/mac/documentation/ macosx/conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html Task-number: QTBUG-32896 Change-Id: Ide23437c9bb6515d5013d37ae6ff4133a69085ad Reviewed-by: Morten Johan Sørvig --- src/macdeployqt/shared/shared.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/macdeployqt/shared/shared.h') diff --git a/src/macdeployqt/shared/shared.h b/src/macdeployqt/shared/shared.h index 8c6ea0bfe..0fe7400fb 100644 --- a/src/macdeployqt/shared/shared.h +++ b/src/macdeployqt/shared/shared.h @@ -56,6 +56,7 @@ extern bool runStripEnabled; class FrameworkInfo { public: + bool isDylib; QString frameworkDirectory; QString frameworkName; QString frameworkPath; @@ -66,7 +67,8 @@ public: QString installName; QString deployedInstallName; QString sourceFilePath; - QString destinationDirectory; + QString frameworkDestinationDirectory; + QString binaryDestinationDirectory; }; bool operator==(const FrameworkInfo &a, const FrameworkInfo &b); -- cgit v1.2.3