QDoc: Autolink concept references in HTML synopses


A function constrained by a C++20 concept renders the
constraint inline in its synopsis. The concept name in
that constraint stays inert, even when the concept has
its own reference page, so a reader following a function
from the API overview to its documentation has no way to
learn what the constraint requires by clicking through to
it. The same holds for trailing requires clauses on
member functions and for concept references that cross
module boundaries.

The HTML synopsis pipeline treats a documented concept
the same as a documented type. Both the template-head
form and the trailing requires clause produce a clickable
anchor for every concept reference, and the lookup walks
dependency modules the same way the type-link path
already does.

Task-number: QTBUG-145046
Pick-to: 6.12
Change-Id: I99a33bd6541bbd299c46c44b3d5daae60e40ebbd
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit833374bc7821ab8a0389c97f770b32fb5f4db455
parent8be0581bc94853da91b3bcf83254add63aeb64fd
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeFri, 5 Jun 2026 06:03:43 +0000