diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-08-08 11:11:55 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-08-08 13:17:40 +0200 |
commit | 3e08d94436f1c0f40db69e4f754276145b83c827 (patch) | |
tree | 6a39bf75736e6bb7924fce7cef69c1b338b4835a /qtcreator.pro | |
parent | 7468ccc3602fcb5add069460e2eb9aab7a03cf46 (diff) | |
download | qt-creator-3e08d94436f1c0f40db69e4f754276145b83c827.tar.gz |
don't add qbs-related flags to CONFIG over and over again
Change-Id: I0ca49213d45ab7ab193266bbbc7f201cecdc6eac
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'qtcreator.pro')
-rw-r--r-- | qtcreator.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qtcreator.pro b/qtcreator.pro index 5d22eb0409..ecddef5889 100644 --- a/qtcreator.pro +++ b/qtcreator.pro @@ -65,8 +65,10 @@ minQtVersion(5, 0, 0):exists(src/shared/qbs/qbs.pro) { cache(QBS_RELATIVE_PLUGINS_PATH) QBS_RELATIVE_SEARCH_PATH = $$relative_path($$QBS_RESOURCES_BUILD_DIR, $$QBS_APPS_DESTDIR) cache(QBS_RELATIVE_SEARCH_PATH) - QBS_CONFIG_ADDITION = qbs_no_dev_install qbs_enable_project_file_updates - cache(CONFIG, add, QBS_CONFIG_ADDITION) + !qbs_no_dev_install { + QBS_CONFIG_ADDITION = qbs_no_dev_install qbs_enable_project_file_updates + cache(CONFIG, add, QBS_CONFIG_ADDITION) + } } contains(QT_ARCH, i386): ARCHITECTURE = x86 |