summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets.pro')
-rw-r--r--src/widgets/widgets.pro8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/widgets/widgets.pro b/src/widgets/widgets.pro
index d0425cac25..8f6a9713f6 100644
--- a/src/widgets/widgets.pro
+++ b/src/widgets/widgets.pro
@@ -44,6 +44,14 @@ contains(DEFINES,QT_EVAL):include($$QT_SOURCE_TREE/src/corelib/eval.pri)
QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtGui.dynlist
+# Code coverage with TestCocoon
+# The following is required as extra compilers use $$QMAKE_CXX instead of $(CXX).
+# Without this, testcocoon.prf is read only after $$QMAKE_CXX is used by the
+# extra compilers.
+testcocoon {
+ load(testcocoon)
+}
+
DEFINES += Q_INTERNAL_QAPP_SRC
INCLUDEPATH += ../3rdparty/harfbuzz/src