[Interest] clang-tidy version in Qt Creator

Nikolai Kosjar Nikolai.Kosjar at qt.io
Tue Feb 5 08:34:10 CET 2019


On 2/4/19 10:18 PM, Bernhard Lindner wrote:
> Hi!
> 
> Is there a way to switch/select the clang-tidy version used by Qt Creator for static code
> analysis on Linux?

No as Qt Creator can only use the shipped/customized clang binary for 
this. While this come with some advantages (performance in case tidy and 
clazy checks are requested, same lib interface), it does not permit 
switching versions that easily.

You would need to wait until we upgrade the shipped clang or compile Qt 
Creator against a more recent LLVM/Clang yourself.

Nikolai


More information about the Interest mailing list