Dear all,

I want my application to be build with coverage analysis support. This is essentially not a problem.

However, compiling like this generates additional files, which will then point to the relative paths used in the .pro file. This means there will be problems once the application has been run and you try to use gcov or lcov to analyze the results.

The common solution on the internet to this appears to be to use absolute paths in your makefile, which you can do with the GNU make function ($abspath ...). Would it be possible to have qmake to insert ($abspath ...) for every file it puts in the makefile? Or would there be another solution, for instance using just QMake functionality?

Thanks