From c49cfcd6c7ee0731307b74cd9bcbac7d46e5b369 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 25 Jun 2014 16:28:25 +0200 Subject: [PATCH] Fix qbs plugins path on OS X. Change-Id: I6f6c88fdc9925e308b3032a41b4e1400a8e32952 Reviewed-by: Jake Petroules --- src/src.qbs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/src.qbs b/src/src.qbs index 5301b6a4f5a..3680e8d0068 100644 --- a/src/src.qbs +++ b/src/src.qbs @@ -29,7 +29,9 @@ Project { ? ["@loader_path/" + FileInfo.relativePath(appInstallDir, libInstallDir)] : ["$ORIGIN/..", "$ORIGIN/../" + project.ide_library_path] property string resourcesInstallDir: project.ide_data_path + "/qbs" - property string pluginsInstallDir: project.libDirName + "/qtcreator" + property string pluginsInstallDir: qbs.targetOS.contains("windows") + ? project.libDirName + "/qtcreator" + : project.ide_library_path property string appInstallDir: project.ide_bin_path property string relativePluginsPath: FileInfo.relativePath(appInstallDir, pluginsInstallDir) property string relativeSearchPath: FileInfo.relativePath(appInstallDir,