QDoc: Warn on unterminated deprecation text


When a documentation comment carries \deprecated or \obsolete, QDoc
generates a sentence in the output, appending any text that follows the
command.

QDoc now inspects that text as it parses the command and warns when it
doesn't close with sentence-ending punctuation. Bare commands and
version-only forms carry no description and stay silent.

[ChangeLog][QDoc] QDoc now warns when the text following \deprecated
does not end with sentence-ending punctuation, since that text is
appended to a generated sentence in the output.

Fixes: QTBUG-117470
Change-Id: Ide3922bb32a90b7f07848fbe35f5c236ac8bbe0e
Reviewed-by: David Boddie <david.boddie@qt.io>
commita8d547dd4cef9c492c157528ad250924e8d1f683
parent5902c5fe5f63fdbf0e6adf555adde6389092b16c
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 27 Jul 2026 11:49:14 +0000