coverage { message("Building coverage.") QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage -O0 LIBS += -lgcov QMAKE_LFLAGS += -fprofile-arcs }