Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Clang kit configuration for Windows
amigo421 last edited by
FIrst of all - I'm talking about C++ development WITHOUT Qt,
the question is about QtC as an IDE only, NOT in apply to Qt
Is there a manual how to configure CLang compiler under Windows?
both versions is ok for me LLVM or Microsoft, doesn't matter,
however LLVM version is detected by QtC, MS one was not, and I think if I will add this into the PATH , it won't help .
when I'm configuring a kit based on LLVM, which other parameters whould be specified?
Debugger - CDBx64? is it ok for debug CLang ABI?
CMake Generatkr - the same ? CodeBLock's nmake?
I got the error from cmake:
C:\dev\workspace\algolist\CMakeLists.txt:2: error: The CMAKE_CXX_COMPILER: cl is not a full path and was not found in the PATH. To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat). Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
so looks like this generator forces to use cl , instead of clang.