aboutsummaryrefslogtreecommitdiffstats
path: root/qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-10-11 15:54:56 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-10-11 16:02:34 +0200
commitdba595fdea1152fafb8291ed82df9ce2db825650 (patch)
tree9c4e43dc5859eb48a04a5a4c6040564b0999ebc0 /qbs
parent1cf1159f41f12860ced8f0bbce0da38f9960c3cf (diff)
qbs project files: Add library dir to rpaths for tools.
At least one tool uses libUtils, and others could very well do that too. Change-Id: I4ddda966dc18ac05fc074a4e58df9f8c5dc09d44 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'qbs')
-rw-r--r--qbs/imports/QtcTool.qbs4
1 files changed, 4 insertions, 0 deletions
diff --git a/qbs/imports/QtcTool.qbs b/qbs/imports/QtcTool.qbs
index 5494d0dc5d..f24edbc815 100644
--- a/qbs/imports/QtcTool.qbs
+++ b/qbs/imports/QtcTool.qbs
@@ -11,6 +11,10 @@ Application {
property string toolInstallDir: project.ide_libexec_path
+ cpp.rpaths: qbs.targetOS.contains("osx")
+ ? ["@executable_path/../" + project.ide_library_path]
+ : ["$ORIGIN/../" + project.ide_library_path]
+
Group {
fileTagsFilter: product.type
qbs.install: true