QDoc: Warn when the documented Clang versions go stale


The Clang version table in the QDoc manual must stay in sync with
QDOC_MINIMUM_CLANG_VERSION, QDOC_SUPPORTED_CLANG_VERSIONS, and
QT_REPO_MODULE_VERSION, but nothing enforced this: a Clang version
bump, or the repository version bump for a new release, without a
documentation update would silently publish a stale table.

Validate the row for the current Qt release when the build is
configured, and emit a warning with the expected row and a pointer
to the generator when it does not match. The check is a warning
rather than an error: repository version bumps are made
automatically, and the table is maintained manually. Note in
.cmake.conf that bumping QT_REPO_MODULE_VERSION requires a row for
the new release.

Task-number: QTBUG-148698
Change-Id: I9fd1aa555cbdf837c43fcb774ffaa732ec071e6e
Reviewed-by: David Boddie <david.boddie@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit4c3368ffcd8510276b6ca41166bc04c243eef6ef
parent4dea866b56cd7f077c36dbad15bc61698baa2427
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 28 Sep 2026 13:58:12 +0000