aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2019-03-13 14:37:04 +0100
committerIvan Donchevskii <ivan.donchevskii@qt.io>2019-04-11 10:46:19 +0000
commit89e70ca785df08b448997927d7c28145f599857f (patch)
tree0383aee023540537a5183de5dbd0864430c4bedb /README.md
parent2f6d43745a2dafebcdcb324e9ee44525841cc30e (diff)
Enable Clang Refactoring compiling
We change QTC_ENABLE_CLANG_LIBTOOLING to QTC_DISABLE_CLANG_REFACTORING, so you now have to opt out instead of opt in. We bump the minimum version of LLVM to 7.0 too because we mentioned that in the README already. Change-Id: Ic4ee29a74a3ed79634ed8ea50be84d7bdc7db4ef Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index af99a5791a..41c0430251 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,8 @@ Prerequisites:
* On Linux: g++ 5.3 or later
* LLVM/Clang 7.0.0 or later (optional, needed for the Clang Code Model, Clang Tools, ClangFormat,
Clang PCH Manager and Clang Refactoring plugins, see the section
- "Get LLVM/Clang for the Clang Code Model")
+ "Get LLVM/Clang for the Clang Code Model". The LLVM C++ API provides no compatibility garantee,
+ so if later versions don't compile we don't support that version.)
* CMake (only for manual builds of LLVM/Clang)
* Qbs 1.7.x (optional, sources also contain Qbs itself)
@@ -46,6 +47,8 @@ You can build Qt Creator with
# Optional, needed for the Clang Code Model if llvm-config is not in PATH:
export LLVM_INSTALL_DIR=/path/to/llvm (or "set" on Windows)
+ # Optional, disable Clang Refactoring
+ export QTC_DISABLE_CLANG_REFACTORING=1
# Optional, needed to let the QbsProjectManager plugin use system Qbs:
export QBS_INSTALL_DIR=/path/to/qbs
# Optional, needed for the Python enabled dumper on Windows