summaryrefslogtreecommitdiff
path: root/qtcreator.pro
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-03-28 13:26:46 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2014-03-28 16:27:49 +0100
commitde99c7a6ed193ca7685bc352b1dfc07a89a29a32 (patch)
treedbb834f6fa9d7e3be9f3864fb806462ad41341d4 /qtcreator.pro
parent3599648ed9e58fe501ffa5215d34ed7a1b256c95 (diff)
downloadqt-creator-de99c7a6ed193ca7685bc352b1dfc07a89a29a32.tar.gz
fix location of qbs plugins on OS X
Task-number: QTCREATORBUG-11866 Change-Id: I261fdabd100c6f6827d4195624d56343cd59fb81 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'qtcreator.pro')
-rw-r--r--qtcreator.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/qtcreator.pro b/qtcreator.pro
index cc0c0db48b..8e3676ab14 100644
--- a/qtcreator.pro
+++ b/qtcreator.pro
@@ -43,7 +43,11 @@ exists(src/shared/qbs/qbs.pro) {
system("echo QBS_LIB_INSTALL_DIR = $${QTC_PREFIX}/$${IDE_LIBRARY_BASENAME}/qtcreator >> $$qmake_cache")
system("echo QBS_RESOURCES_BUILD_DIR = $${maybe_backslash}\"$${IDE_DATA_PATH}/qbs$${maybe_backslash}\" >> $$qmake_cache")
system("echo QBS_RESOURCES_INSTALL_DIR = $${QTC_PREFIX}/share/qtcreator/qbs >> $$qmake_cache")
- system("echo QBS_PLUGINS_BUILD_DIR = $${maybe_backslash}\"$${IDE_BUILD_TREE}/$${IDE_LIBRARY_BASENAME}/qtcreator/$${maybe_backslash}\" >> $$qmake_cache")
+ macx {
+ system("echo QBS_PLUGINS_BUILD_DIR = $${maybe_backslash}\"$${IDE_LIBRARY_PATH}$${maybe_backslash}\" >> $$qmake_cache")
+ } else {
+ system("echo QBS_PLUGINS_BUILD_DIR = $${maybe_backslash}\"$${IDE_BUILD_TREE}/$${IDE_LIBRARY_BASENAME}/qtcreator/$${maybe_backslash}\" >> $$qmake_cache")
+ }
system("echo QBS_PLUGINS_INSTALL_DIR = $${QTC_PREFIX}/$${IDE_LIBRARY_BASENAME}/qtcreator >> $$qmake_cache")
system("echo QBS_LIBRARY_DIRNAME = $${IDE_LIBRARY_BASENAME} >> $$qmake_cache")
system("echo CONFIG += qbs_no_dev_install >> $$qmake_cache")