qpt (Qt Project Tool) understands Qt C++ projects (.pro) and allows to pass this information to command line tools as "Code Counters" and "Static Analysis tools".
It also can used inside QtCreator to act as a plugin for "Static Analysis tools" putting reported issues into QtCreator issues pane.
Follow QtProjectTool
Other Useful Business Software
Passwordless Authentication and Passwordless Security
It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Rate This Project
Login To Rate This Project
User Reviews
-
Really useful tool, needs a bit of setup but that's ok.
-
What bruceoutdoors wrote is mostly true, but: 1) you have to enable TaskList plugin in Qt Creator to see Cppcheck output in the Issues pane; 2) you don't have to add Qt Creator binaries to PATH; 3) you don't have to use outdated versions of applications and libraries - they works with QtProjectTool 1.1, Cppcheck 1.62, Qt Creator 3.0; 4) instructions how to setup Qt Creator are in the QtProjectTool manual. Enjoy analyzing!
-
I would recommend it, but given the hassle to set things up I'd give 4/5 stars. In addition to the manual, using windows there are couple of things to bear in mind: 1. in the arguments field during setting up, be aware that unless you set cppcheck in your environment paths, "--tool=cppcheck" does not work. You'll need to set the directory: --qtc-plugin --tool="C:/Cppcheck-1.55/cppcheck.exe" %{CurrentProject:FilePath} 2. You'll need to set an environment paths to QtCreator(usually in C:\Qt\Qt5.0.2\Tools\QtCreator\bin). Without this the warning messages from cppcheck does not show up in the issues pane 3. Don't use cppcheck 1.60. In qpt 0.7, It doesn't work. I got things running with cppcheck 1.55. windows 7 32bit, Qt 5.0.2 MinGW, cppcheck 1.55
-
Thanks for Qtprojecttool, it's excellent!