From f61c26916edf9944ed1dd465f031620a80e98597 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 20 Mar 2018 12:53:26 +0100 Subject: Doc: Resolve all documentation warnings 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 --- src/charts/qchartglobal.h | 2 ++ 1 file changed, 2 insertions(+) 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 { -- cgit v1.2.3