By Carlos J. Mazieri
The Qt Project Tool (qpt)
The "qpt" (Qt Project Tool) is a command line utility that aims to extract information
from Qt projects (qmake managed .pro files) making it easy to use project set of files and settings as input to
other command line tools.
As example other tools can be: Static Analyzers, Code Counters and others.
When "qpt" is used with Static Analyzer tools it also can work as a Qt Creator plugin,
making it easy and fast to
change source code inside Qt Creator.
So far it is known to work with the following Static Analyzers:
It was written for Qt and uses Qt of course, works with Qt4 or Qt5, see http://qt-project.org
To build on Unix/Linux:
$ make ## copy qpt to a suitable path
$ sh config/install.sh ## to install xml external tools for QtCreator, on Windows the installer does that.
Documentation is available in the "doc" directory:
Many thanks to Jürgen Querengässer <email@example.com> who modified the code in order to have 0.7
version working on Windows. He also provided a compiled 0.7 Windows version.
Many thanks to Serhiy Moroz who added support for Project files TEMPLATE = subdirs in the 1.0 version.
Many thanks to Roman Telezhynskyi <firstname.lastname@example.org> who contributed with:
* fixed a bug (version 1.1) related to when the Static Analyzer tool generates a big number of issues.
* provided a patch to support variables in the SUBDIRS projects (version 1.2)
* provided a patch to clean QtCreator issues pane before running a new cppecheck session (version 1.2)