QDoc: Wrap template parameter types in DocBook


A non-type template parameter such as int Size and a
defaulted type template parameter such as T = char render
in DocBook as flat text. HTML output has long wrapped the
same type names in an explicit type element, so styling
or tooling that hooks into type elements gets HTML
markers that DocBook silently lacks.

The DocBook generator routes both cases through the same
type-emission helper it uses everywhere else, bringing
DocBook output into parity with HTML.

Task-number: QTBUG-145046
Pick-to: 6.12
Change-Id: I026c0cee2b95ce826da82a90b54adf2630c2e0fc
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit183da75f0f7c09ff2abfdbc70f80bf0c6d59f222
parenta028ad5d9954bdc4e886ded06d05792595efafe0
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeFri, 5 Jun 2026 07:53:52 +0000