libclang debug libs are missing
-
Hello!
I would like to build
Qt 6- debug and release mode forVisual Studio 2019compiler. From the docs: https://wiki.qt.io/Building_Qt_6_from_Git, it requires thelibclanglibraries, which can be found here: https://download.qt.io/development_releases/prebuilt/libclang/, but it only available for release mode build. Where I can find thelibclangsource code orlibclangprebuilt libs for debug mode? Also, there are a lot ofclang libsavailable here: https://github.com/llvm/llvm-project/releases/tag/llvmorg-15.0.6, but I am no sure which are suitable forQt 6? Thank you. -
Hello!
I have built
LLVMandClangsuccessfully. Here are my instructions:- Download
llvm-project-llvmorg-15.0.6.zipfrom https://github.com/llvm/llvm-project - Use this command to build
LLVMandClang:cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE="Debug" -DLLVM_USE_CRT_DEBUG=MDd -DLLVM_ENABLE_PROJECTS="clang" -DLIBCLANG_BUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="C:\\LLVM\\msvc2019\\x64\\debug" -S C:\\llvm-project-llvmorg-15.0.6\\llvm
cd build
cmake --build .
cmake --install .
The same will work for Release type as well just change the-DCMAKE_BUILD_TYPE="Debug"and-DLLVM_USE_CRT_DEBUG=MDdto-DCMAKE_BUILD_TYPE="Release"and-DLLVM_USE_CRT_DEBUG=MD. The issue is resolved. Thank you.
- Download