QDoc: Resolve and copy image files in template generator


The IR stores raw image filenames as written in documentation source,
but the output directory needs resolved paths and the actual image
files copied alongside the generated HTML. Without this, rendered
<img> tags point to files that don't exist in the output.

TemplateGenerator now walks IR content blocks after link resolution,
resolves each image filename through FileResolver, copies the file
to the output images subdirectory, and updates the href to include
the images/ prefix. This mirrors HtmlGenerator's existing approach
while keeping ContentBuilder free of filesystem concerns.

Fixes: QTBUG-145122
Change-Id: I40a4d38b1c6abaf7cc679eee2fed26b96080c31b
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit3e441c8452670d5cf23fe2e4366e79c5e586a990
parent3e9330ba4b77073fc5a61389e536799f6bd48f25
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 25 Mar 2026 13:20:06 +0100