diff options
author | Topi Reinio <topi.reinio@qt.io> | 2018-03-20 12:53:26 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2018-03-21 08:59:20 +0000 |
commit | f61c26916edf9944ed1dd465f031620a80e98597 (patch) | |
tree | 945d2e2c7943a71657f8cada9e972eb36269bdfc | |
parent | 27d2c7035b1812dc2bdf7f0e580a42c613199fd8 (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.h | 2 |
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 { |