summaryrefslogtreecommitdiff
path: root/src/plugins/plugins.pro
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2016-12-08 15:35:08 +0100
committerEike Ziller <eike.ziller@qt.io>2016-12-09 08:04:42 +0000
commitce7e5e3b4dca623763e2d930ce9fff7383c2150b (patch)
tree10f0f9a377841a17b72e2c1ccf337b62b3847f0d /src/plugins/plugins.pro
parent654a48b19d0bc6869b6b7f401c7e1a08cd0514a9 (diff)
downloadqt-creator-ce7e5e3b4dca623763e2d930ce9fff7383c2150b.tar.gz
Clang: Temporary workaround for VS 2015 Update 2
We disable older Visual Studio compilers because they have bugs. This patch has to be reverted after we go to VS 2015 Update 3. Change-Id: I2c6eecab993282b24003ceb99a991a72502057f6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/plugins.pro')
-rw-r--r--src/plugins/plugins.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro
index 0980a4c49a..a7dcbeaff0 100644
--- a/src/plugins/plugins.pro
+++ b/src/plugins/plugins.pro
@@ -77,12 +77,15 @@ isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
exists($$LLVM_INSTALL_DIR) {
SUBDIRS += clangcodemodel
+ win32-msvc*:equals(QT_CL_MAJOR_VERSION, 19):equals(QT_CL_MINOR_VERSION, 00): \
+ greaterThan(QT_CL_PATCH_VERSION, 24209) {
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING)
isEmpty($$QTC_NO_CLANG_LIBTOOLING) {
SUBDIRS += clangrefactoring
} else {
warning("Building the Clang refactoring plugin is disabled.")
}
+ }
} else {
warning("Set LLVM_INSTALL_DIR to build the Clang Code Model. " \
"For details, see doc/src/editors/creator-clang-codemodel.qdoc.")