summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2018-03-20 12:53:26 +0100
committerTopi Reiniƶ <topi.reinio@qt.io>2018-03-21 08:59:20 +0000
commitf61c26916edf9944ed1dd465f031620a80e98597 (patch)
tree945d2e2c7943a71657f8cada9e972eb36269bdfc
parent27d2c7035b1812dc2bdf7f0e580a42c613199fd8 (diff)
Doc: Resolve all documentation warningsv5.11.0-beta3
Clang gets confused about the QtCharts namespace as the classes are not documented to be under that namespace. Ignore the namespace for documentation builds - this is OK as we already instruct the user to declare 'using namespace QtCharts;' Change-Id: Ida68635909c027d48d33cce87485bd439fdd47b0 Reviewed-by: Martin Smith <martin.smith@qt.io>
-rw-r--r--src/charts/qchartglobal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charts/qchartglobal.h b/src/charts/qchartglobal.h
index 46c5f400..96160021 100644
--- a/src/charts/qchartglobal.h
+++ b/src/charts/qchartglobal.h
@@ -54,7 +54,9 @@
#define QT_CHARTS_AUTOTEST_EXPORT Q_AUTOTEST_EXPORT
+#ifndef Q_CLANG_QDOC
#define QT_CHARTS_NAMESPACE QtCharts
+#endif
#ifdef QT_CHARTS_NAMESPACE
# define QT_CHARTS_BEGIN_NAMESPACE namespace QT_CHARTS_NAMESPACE {