summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-11-18 07:03:36 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-11-18 07:03:36 (GMT)
commit250e78df4a8ad1d2aa52d13c2b883e25a4432f67 (patch)
tree1bd5fe55cb398501974b311b49b18bef685c1e2a
parenteaa5d6d945b5bcab2cbdce01a0780ccdadbd2719 (diff)
downloadQt-250e78df4a8ad1d2aa52d13c2b883e25a4432f67.zip
Qt-250e78df4a8ad1d2aa52d13c2b883e25a4432f67.tar.gz
Qt-250e78df4a8ad1d2aa52d13c2b883e25a4432f67.tar.bz2
declarative.pro GCOV test
-rw-r--r--src/declarative/declarative.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/declarative.pro b/src/declarative/declarative.pro
index da8434f..d1e2ee8 100644
--- a/src/declarative/declarative.pro
+++ b/src/declarative/declarative.pro
@@ -9,8 +9,10 @@ solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtXml
-# QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
-# LIBS += -lgcov
+exists("qml_enable_gcov") {
+ QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors
+ LIBS += -lgcov
+}
INCLUDEPATH += ../../include/QtDeclarative