From 531e8b74bf57becedc386a5848249487b10ca476 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Tue, 11 Nov 2025 11:06:16 +0100 Subject: [PATCH] Doc: Exclude auto-generated protobuf wrappers from docs Auto-generated wrapper headers in `google/protobuf/` produce undocumented property warnings. These thin wrappers around Google's types should reference upstream protobuf documentation rather than duplicate property semantics. Add an `excludefiles` pattern to skip `*.qpb.h` files during documentation generation. Pick-to: 6.10 6.10.1 Task-number: QTBUG-141872 Change-Id: Icf1371dfe2eb727a889e7182c088390345b12603 Reviewed-by: Topi Reinio --- src/protobuf/doc/qtprotobuf.qdocconf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/protobuf/doc/qtprotobuf.qdocconf b/src/protobuf/doc/qtprotobuf.qdocconf index 337957e7..e5659bb7 100644 --- a/src/protobuf/doc/qtprotobuf.qdocconf +++ b/src/protobuf/doc/qtprotobuf.qdocconf @@ -64,6 +64,10 @@ depends += qtdoc qtcore qtgui qtcmake qtgrpc qtwidgets qtqml qtquick qtquickcont ../../protobufqttypes \ ../../wellknown +# Exclude auto-generated Protocol Buffer wrapper headers +excludedirs += ../../wellknown/.tmp/google/protobuf +internalfilepatterns = wrappers.qpb.h + # Add additional documentation dirs sourcedirs += ../../tools/doc