D
D
DrunkCat2014-01-18 11:30:23
Qt
DrunkCat, 2014-01-18 11:30:23

How to analyze a Qt project using PVS-Studio?

It is necessary to carry out a static analysis of the project code developed on Qt 5.2.0 using PVS-Studio. The project is built using the MinGW 4.8 compiler using qmake (*.pro file). The project is being developed in QtCreator.
How to analyze code using PVS-Studio?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy Ryzhkov, 2014-01-21
@EvgeniyRyzhkov

In QtCreator, you need to create a configuration that will prepare the preprocessed files. Then these preprocessed files can be checked with PVS-Studio Standalone.
This is the easiest and most convenient way to try it.
In the future, you can embed the PVS-Studio.exe call into the project assembly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question