From 4a326d3b6b616dd65e5656deeb00e191d5c17ade Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 16 Oct 2016 12:48:06 +0300 Subject: [PATCH] Allow MAC OS X to find library inside a bundle. (grafted from 483fd5c402708b828382a691e0f21305b2b2b9df) --HG-- branch : develop --- src/app/tape/tape.pro | 2 ++ src/app/valentina/valentina.pro | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/app/tape/tape.pro b/src/app/tape/tape.pro index 4a9d5d74d..83ca0388d 100644 --- a/src/app/tape/tape.pro +++ b/src/app/tape/tape.pro @@ -212,6 +212,8 @@ unix{ } } + QMAKE_RPATHDIR += @executable_path/../Frameworks + # Path to resources in app bundle #RESOURCES_DIR = "Contents/Resources" defined in translation.pri FRAMEWORKS_DIR = "Contents/Frameworks" diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro index b50aed793..af55048c5 100644 --- a/src/app/valentina/valentina.pro +++ b/src/app/valentina/valentina.pro @@ -215,6 +215,8 @@ unix{ } } + QMAKE_RPATHDIR += @executable_path/../Frameworks + # Path to resources in app bundle #RESOURCES_DIR = "Contents/Resources" defined in translation.pri FRAMEWORKS_DIR = "Contents/Frameworks"