QDoc: Mark expander-emitted catalog links as resolved


The expansion pass pre-resolves entry hrefs through the href
resolver when it builds a populated catalog, so by the time the
link resolver walks the body the catalog's link inlines already
carry their final URL. The expander does not, however, mark them
as such. The link resolver assumes every link inline carries
metadata describing how it was resolved and fails its invariant
on absence, which crashed qdoc the first time a real fixture
exercised the catalog pipeline end to end.

Pre-resolved entry links now reach the link resolver carrying
the metadata that says they are already resolved. The body walk
sees them, observes that resolution is complete, and moves on.
End-to-end catalog pages render without crash, link resolution
stays a single forward sweep, and the invariant the crash
protected — that every link inline carries metadata — remains
intact.

Fixes: QTBUG-146596
Change-Id: I8b79aa246ab306ea4a5eea93793c70e470af9bf6
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit0cf0845f8bad0372b7957a041ac9dee92b3bfa61
parentb2a3206630a6cba2fcfb1abfe2223a67582fe78f
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 7 May 2026 09:20:45 +0000