[qt/qt/qtbase]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qt/qtbase
Pushed by mirror-service into branch '6.12'.
Changed from b0678f1a714744f04858d90945e328eb87bd198b to 7c1dcd1c7772105384bf9c92e602eb786cf260e4
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 7c1dcd1c7772105384bf9c92e602eb786cf260e4 by Qt Cherry-pick Bot (on behalf of Alexandru Croitor) on 15/08/2026 at 15:40..
CMake: Handle generated headers in syncqt scan all mode for docs

Building the docs of the Network module can result in incomplete
documentation in the following scenario:
- use an external prebuilt qdoc
- configure the module with QT_SYNC_HEADERS_AT_CONFIGURE_TIME=OFF
- call cmake --build . --target html_docs_Network

In this case the qdnslookup.html file is missing the whole block
for QDnsLookup::finished.

The reason is that the 'prepare_docs_<module>' target only depends on
'sync_all_public_headers', which runs syncqt with the '-all' option.

In that mode syncqt ignores the header list given via '-headers' and
scans the module source directory instead. Generated headers are never
processed, so they don't get a forwarding header. In qtbase that
doesn't create qt<module>-config.h and qt<module>-config_p.h headers.

Without them qdoc can't find QtNetwork/private/qtnetwork-config_p.h
which leaves QT_FEATURE_dnslookup undefined, the
QT_REQUIRE_CONFIG(dnslookup) condition fails, and some of the code is
not parsed.

To fix this, pass and process the '-generatedHeaders' list in the
'scan all' mode as well.

The headers that are excluded from docs are filtered out, so doc
generation still doesn't depend on headers that need a tool to be
created, like the dbus generated ones.

The issue doesn't show up in a developer build, because
QT_SYNC_HEADERS_AT_CONFIGURE_TIME defaults to ON there and syncqt has
already created the forwarding headers at configure time.

In a qt5.git super builds it doesn't happen either because
'prepare_docs_<module>' depends on the 'qdoc' target, which
links QtQml and QtNetwork, which in turn pulls in the regular
'<module>_sync_headers' targets.

Pick-to: 6.11
Fixes: QTBUG-149045
Change-Id: Ib9f827fa13eed83429547ff05db8cf3ff4068118
Reviewed-by: Joerg Bornemann <[email protected]>
(cherry picked from commit 10bf69ad412badb5558e5c2ed299ec4975f698d4)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/7c1dcd1c7772105384bf9c92e602eb786cf260e4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.