Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Additional make target (for code coverage using gcc/gcov)
ludde last edited by
Does anyone know of a way to make qmake add additional make targets (in addition to debug and release) to the created make files, and define how these targets are built?
What I want to do is add a 'coverage' target that performs a debug build with the additional -fprofile-arcs and -ftest-coverage options passed to the compiler and linker, and linking with the gcov library.