From 89e70ca785df08b448997927d7c28145f599857f Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Wed, 13 Mar 2019 14:37:04 +0100 Subject: 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 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index af99a5791aa..41c04302511 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 -- cgit v1.2.3