QDoc: Render deprecation notes in template output


The Template Generator omits deprecation notes. This change ensure that
they appear in template-generated HTML and Markdown. Wording and
placement matches that of the HTMLGenerator.

Task-number: QTBUG-151328
Pick-to: 6.12
Change-Id: I9144d083d29a3c8b45b5f21428c7b5e9fa94a00f
Reviewed-by: David Boddie <david.boddie@qt.io>
commit5db77f3b920127f67fba0b429d74ed939dd30e34
parentcc115bce23a13665af995728b15a0ad6399050fd
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 12 Oct 2026 15:43:25 +0000