QDoc: Name QML module in shared deprecation notes
When a single QML method or property is marked `\deprecated [6.5]`,
its note reads "deprecated since Deprecations 6.5". The note names the
QML module before the version. When the same command sits in a comment
shared by several QML methods, or on a property group, the module name
disappears. Readers see two styles for the same information on one QML
type page. The shorter one doesn't say which module the version refers
to.
Shared documentation takes its QML identity from the members it
documents, but it doesn't report their module. This change makes it
report the module of the QML type it belongs to, as the methods and
properties themselves do. The deprecation note then reads the same for
shared and individual documentation.
Fixes: QTBUG-151322
Pick-to: 6.12
Change-Id: If8c3cf61ea7841154f3d7f36c82da06343126150
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
Reviewed-by: David Boddie <david.boddie@qt.io>