summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2021-10-24 20:28:50 +0200
committerTopi Reiniƶ <topi.reinio@qt.io>2021-10-26 11:54:41 +0000
commitcdf8fd5e86f253680f61289ee6edaa0c4e54b267 (patch)
treeb5f3d0b98e0eb223970c8786d8fd7dd900739f12
parent5f0e57ebc7e12a7325667fe3e5c95e06cd04388a (diff)
Doc: Enforce zero warnings for QtCore, QtGui
Change-Id: I7b39f9bf8d7bc9c9c5c21c4bd648a86281162740 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/corelib/doc/qtcore.qdocconf3
-rw-r--r--src/gui/doc/qtgui.qdocconf3
2 files changed, 6 insertions, 0 deletions
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 = "<div style=\"padding:10px;color:#fff;background:\1;\"></div>"
+
+# Fail the documentation build if there are more warnings than the limit
+warninglimit = 0