From cdf8fd5e86f253680f61289ee6edaa0c4e54b267 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Sun, 24 Oct 2021 20:28:50 +0200 Subject: [PATCH] Doc: Enforce zero warnings for QtCore, QtGui Change-Id: I7b39f9bf8d7bc9c9c5c21c4bd648a86281162740 Reviewed-by: Paul Wicking --- src/corelib/doc/qtcore.qdocconf | 3 +++ src/gui/doc/qtgui.qdocconf | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf index 84a0b4bafe..cb622647e8 100644 --- a/src/corelib/doc/qtcore.qdocconf +++ b/src/corelib/doc/qtcore.qdocconf @@ -53,3 +53,6 @@ excludefiles += ../kernel/qtestsupport_core.cpp navigation.landingpage = "Qt Core" navigation.cppclassespage = "Qt Core C++ Classes" + +# Fail the documentation build if there are more warnings than the limit +warninglimit = 0 diff --git a/src/gui/doc/qtgui.qdocconf b/src/gui/doc/qtgui.qdocconf index d74946817b..b48fc2076b 100644 --- a/src/gui/doc/qtgui.qdocconf +++ b/src/gui/doc/qtgui.qdocconf @@ -71,3 +71,6 @@ spurious += "Undocumented enum item '.*' in QGradient::Preset" # \svgcolor {#ffdead} macro.svgcolor.HTML = "
" + +# Fail the documentation build if there are more warnings than the limit +warninglimit = 0