summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-07-22 15:52:01 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-07-22 17:02:34 +0300
commit3d45123824865b339711ec16150c5cff5c31fae7 (patch)
tree5241c5fb230c77f50b7c14616d9e8167da20b4f8
parent400f87fa589da1fcd311e04a94d812757d48fb66 (diff)
downloadqt-creator-3d45123824865b339711ec16150c5cff5c31fae7.tar.gz
Fix deployment of wizards on OSX when using build scripts
Change-Id: I9e1c223173c0a4e0f77d2c7642cf2d81010c1ff1 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
-rw-r--r--shared/shared.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/shared.pro b/shared/shared.pro
index 05c3c34dbf..306eacb4c5 100644
--- a/shared/shared.pro
+++ b/shared/shared.pro
@@ -1,3 +1,6 @@
+isEmpty(IDE_SOURCE_TREE): IDE_SOURCE_TREE=$$(QTC_SOURCE)
+isEmpty(IDE_SOURCE_TREE): error(Set QTC_SOURCE environment variable)
+
TEMPLATE = aux
STATIC_BASE = $$PWD
@@ -8,5 +11,5 @@ for(data_dir, STATIC_DIRS) {
for(file, files): !exists($$file/*): STATIC_FILES += $$file
}
-include(../../qtcreator/share/qtcreator/static.pri)
+include($$IDE_SOURCE_TREE/share/qtcreator/static.pri)