Solved Using CppCheck inside Qt Creator
-
I'm trying to follow https://doc.qt.io/qtcreator/creator-cppcheck.html . I've installed cppcheck. I've enabled the plugin. I've set the options, including a valid path to the cppcheck exe, in tools->options->analyzer->cppcheck.
And yet, there's no cppcheck option under the Analyze menu as this guide seems to suggest. I can't find the button to actually run the tool anywhere in Qt Creator 4.9.1. What am I missing?
-
@Ananym Did you "11. Select Analyze"? It should analyze then. Maybe after that you will have the menu entry?
-
Looks like Cppcheck is now a passive thing rather than something you explicitly run?
There's no entry for cppcheck under the analyze submenu, but I'm now seeing cppcheck's output as code warnings, so I'm content.