[Qt-creator] how can i use clang-cl with qt creator under Windows?

Dennis Luehring dl.soluz at gmx.net
Wed Mar 7 20:17:08 CET 2018


my current setup is

QtCreator 4.4.1 (or 4.5 if needed), Qbs, Qt 5.6x and Visual Studio 2015 
as my C/C++ x64 Compiler

my project can be compiled, linked, debugged - everything is working

an after reading the news about google using clang-cl for building 
Chrome for the windows platform

http://blog.llvm.org/2018/03/clang-is-now-used-to-build-chrome-for.html

and want to give it a try - but how?

i've installed the x86 and x64 build of clang-cl from 
http://llvm.org/builds/

and QtCreator finds the x64 clang-cl unter Options/Tools/...

Clang based on MSVC 2015 C++ - but nothing for the C compiler

when i change the C++ compiler in my current used kit to the found clang

it will fail finding cl.exe (its called clang-cl.exe) in the llvm folder 
when i start to compiler

any ideas?







More information about the Qt-creator mailing list