QDoc: Retain the source of each template
QDoc looks for templates in a configured directory before trying its
built-in copies. Once one is loaded, the generator forgets where it
came from. That prevents later diagnostics from telling authors which
copy to inspect.
Keep the source with the loaded content while preserving the existing
choice of template and rendered output. A following change can then
identify the source of a failed render.
Task-number: QTBUG-146939
Pick-to: 6.12
Change-Id: I675fcfd4bf89a0f8fe45c01f0ec7b2c197f6a700
Reviewed-by: Paul Wicking <paul.wicking@qt.io>