QDoc: Improve "Cannot tie this documentation to anything" warning
The warning message and its documentation suggest the only reason
QDoc can't associate a comment with an entity is a missing topic
command or a missing function definition. In practice, the comment
may precede a declaration that QDoc can't see, such as one guarded
by a preprocessor conditional that QDoc doesn't evaluate. This
misleads authors into looking for the wrong problem.
The revised wording covers the full range of causes, helping
authors diagnose the actual issue instead of chasing a missing
definition that may well be present in the source.
Fixes: QTBUG-106220
Change-Id: I810f78d3f6376c91ec2e84e3f4f4a8316705b9c5
Reviewed-by: Topi Reinio <topi.reinio@qt.io>