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
You Might Also Like
One Platform. Total IT Insight. Start with PRTG Now
Why settle for fragmented monitoring? PRTG consolidates everything - servers, VMs, network devices, cloud services, and more, into one powerful platform. Get real-time status, customizable alerts, and deep analytics to drive smarter decisions. Designed for complex environments, PRTG scales with your needs, supports team collaboration, and helps you prevent outages before they impact users. Take control of your IT landscape and deliver the uptime your business requires.
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!