QDoc: Document autolink resolution for \relates
The \relates command moves documentation from one class's
reference page to another. Users who write cross-references
without fully qualified names may find that autolinks break
silently after the move, since name resolution uses the
destination page's context rather than the original class's
context. This behavior isn't obvious from the existing
documentation and leads to confusion when previously working
links stop resolving.
Adding a note to the \relates documentation clarifies this
context-switching behavior so authors can anticipate and
avoid broken cross-references from the start.
Task-number: QTBUG-145807
Change-Id: Ic26c3ca39133c89661924a5d785e74a333e70aee
Reviewed-by: Topi Reinio <topi.reinio@qt.io>