That's for running the checks live in the code model. For a static
analysis run (when selecting "Clang-Tidy and Clazy..." in the "Analyze"
menu) performance is not important, and it should be possible to use the
system install clang tools there.
On 05/02/2019 19:25, Dmitriy Purgin wrote:
Well, try turning on more clang-tidy and clazy checks than the default
shipment of Qt Creator has! ;-) With a project of a decent size your
PC's fans will be blowing all the time like mining is still a thing!
Cheers
On Tue, Feb 5, 2019 at 1:04 PM Nikos Chantziaras <rea...@gmail.com
<mailto:rea...@gmail.com>> wrote:
On 05/02/2019 09:34, Nikolai Kosjar wrote:
> On 2/4/19 10:18 PM, Bernhard Lindner wrote:
>> 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.
Since performance in static analysis is not actually important, it
would
be better if Creator would be able to use external clang binaries
for this.
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest