QDoc: Wire link resolution into template generator pipeline
Template-generated output contains raw link targets instead of
navigable URLs. Readers see type names and function signatures in
link text, but clicking them leads nowhere.
This change wires link resolution into the rendering pipeline so
all targets are resolved before templates see them. External URLs
are detected without database lookup. Deprecated targets are
suppressed from non-deprecated content. Unresolvable links emit
warnings consistent with existing behavior.
Fixes: QTBUG-144554
Change-Id: I2ed8173a20dd383239e2a9547136b3b1a1ebe2a4
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
| commit | e6ad47adbad2978b73168042387d0eb1cb524ca2 |
| parent | a00b613ed560f81678dde59061b31cdb5f832dee |
| author | Paul Wicking <paul.wicking@qt.io> |
| committer | Paul Wicking <paul.wicking@qt.io> |
| commit time | Wed, 11 Mar 2026 15:00:43 +0100 |
- M src/qdoc/qdoc/src/qdoc/templategenerator.cpp
- M src/qdoc/qdoc/src/qdoc/templategenerator.h
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/QtLottie-qdoc-warnings.log
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/html/lottietoqml.html
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/html/qtlottie-lottietoqml-example.html
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/html/qtlottie-qtlottieviewer-example.html
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/html/qtlottieanimation-index.html
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/markdown/lottietoqml.md
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/markdown/qtlottie-lottietoqml-example.md
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/markdown/qtlottie-qtlottieviewer-example.md
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/expected/markdown/qtlottieanimation-index.md
- M src/qdoc/qdoc/tests/validatetemplategeneratoroutput/testdata/qtlottie_validation/qtlottie_validation.qdocconf