QDoc: Extract logging categories into a dedicated header


Many translation units include utilities.h solely to access QDoc's
logging category declarations. This couples those files to a utility
header that also pulls in unrelated string-processing helpers and
forward declarations.

Separating the logging category declarations into their own
lightweight header lets each translation unit include only what it
actually needs, reducing coupling and making the dependency graph
more honest.

Fixes: QTBUG-145181
Change-Id: I38c1cd88506ffd7ec39fe429f4bf5b72fc3fb552
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit0446f31df6c0062ea88858ca0c1457db31c1b051
parent876c4f0da9cbe81b5c8993884c429c7ae38ee463
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeTue, 24 Mar 2026 09:14:59 +0100