summaryrefslogtreecommitdiff
path: root/qbs/imports
diff options
context:
space:
mode:
Diffstat (limited to 'qbs/imports')
-rw-r--r--qbs/imports/QtcTool.qbs8
1 files changed, 4 insertions, 4 deletions
diff --git a/qbs/imports/QtcTool.qbs b/qbs/imports/QtcTool.qbs
index fbd9733600..a1f228e2b2 100644
--- a/qbs/imports/QtcTool.qbs
+++ b/qbs/imports/QtcTool.qbs
@@ -7,10 +7,10 @@ QtcProduct {
installDir: project.ide_libexec_path
cpp.rpaths: {
- var relativePathToLibs
- = FileInfo.relativePath(project.ide_libexec_path, project.ide_library_path);
- var relativePathToPlugins
- = FileInfo.relativePath(project.ide_libexec_path, project.ide_plugin_path);
+ var relativePathToLibs = FileInfo.relativePath('/' + project.ide_libexec_path,
+ '/' + project.ide_library_path);
+ var relativePathToPlugins = FileInfo.relativePath('/' + project.ide_libexec_path,
+ '/' + project.ide_plugin_path);
var prefix = qbs.targetOS.contains("osx") ? "@executable_path" : "$ORIGIN";
return [
FileInfo.joinPaths(prefix, relativePathToLibs),