Contains pvs-studio.pri file to enable 'pvs' target. See also PVS-Studio
-
Install PVS-Studio. You could buy PVS-Studio or use it in open source or independed projects for free. How to use PVS-Studio for Free
-
You could get this project as git submodule:
$ git submodule add --name qt-pvs-studio https://github.com/gilmanov-ildar/qt-pvs-studio.git src/QtPvsStudio
-
Then you could include
qt-pvs-studio.pri
file into the end of your.pro
files. -
If you use
subdirs
template, just add following code to your subdirs.pro
file:CONFIG(debug, debug|release): { pvs-studio.target = pvs pvs-studio.CONFIG = recursive QMAKE_EXTRA_TARGETS += pvs-studio }
-
Do
qmake
andmake pvs all
to build your project and run PVS-Studio -
Fix bugs and continue working