diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-06-18 16:21:02 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-06-19 08:49:31 +0000 |
commit | a0852cf62ba5d3e79c91a5878cb2eaa5633ccbc4 (patch) | |
tree | b13f28fd66b712a30b008aaaaa91386e3392ce13 /README.md | |
parent | c22e9cea13a681fe9cb4b2a377ab29bbb387776f (diff) |
README: Update "Prebuilt LLVM/Clang packages" section
Fixes: QTCREATORBUG-22563
Change-Id: I651d0308bd5ac7efcb22f30488e08b3f3ffa16a6
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 4 insertions, 20 deletions
@@ -235,9 +235,10 @@ Prebuilt packages of LLVM/Clang can be downloaded from https://download.qt.io/development_releases/prebuilt/libclang/ This should be your preferred option because you will use the version that is -shipped together with Qt Creator. In addition, MinGW packages for Windows are -faster due to profile-guided optimization. If the prebuilt packages do not -match your configuration, you need to build LLVM/Clang manually. +shipped together with Qt Creator (with backported/additional patches). In +addition, MinGW packages for Windows are faster due to profile-guided +optimization. If the prebuilt packages do not match your configuration, you +need to build LLVM/Clang manually. If you use the MSVC compiler to build Qt Creator the suggested way is: 1. Download both MSVC and MinGW packages of libclang. @@ -245,23 +246,6 @@ If you use the MSVC compiler to build Qt Creator the suggested way is: 3. Prepend PATH variable used for the run time with the location of MinGW version of libclang.dll. 4. Launch Qt Creator. -If you use GCC 5 or higher on Linux, please do not use our LLVM package, but get -the package for your distribution. Our LLVM package is compiled with GCC 4, so -you get linking errors, because GCC 5 is using a C++ 11 conforming string -implementation, which is not used by GCC 4. To sum it up, do not mix GCC 5 and -GCC 4 binaries. On Ubuntu, you can download the package from -http://apt.llvm.org/ with: - - wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-add-repository "deb http://apt.llvm.org/`lsb_release -cs`/ llvm-toolchain-`lsb_release -cs`-8.0 main" - sudo apt-get update - sudo apt-get install llvm-8.0 libclang-8.0-dev - -There is a workaround to set _GLIBCXX_USE_CXX11_ABI to 1 or 0, but we recommend -to download the package from http://apt.llvm.org/. - - https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html - ### Building LLVM/Clang manually You need to install CMake in order to build LLVM/Clang. |