QDoc: Move pure text helpers into QDocLib


The Utilities namespace bundles a mix of helpers that touch driver
types such as Node, Tree, and Config with a smaller set that is
purely string manipulation. Because the two share a translation unit,
the dep-free helpers inherit the driver-layer dependencies of the
entire file, so components resident in QDocLib cannot use them
without dragging the whole driver along. That leaves code in the
library reinventing list punctuation, HTML escaping, and filename
sanitization it would otherwise get for free.

The pure text helpers move into a new TextUtils namespace shipped by
QDocLib; Utilities keeps the helpers that genuinely depend on the
driver. Callsites across the existing generators switch to the new
namespace. The move is mechanical and no helper's API changes, so
rendered output stays byte-identical across every generator and
every test scenario.

Task-number: QTBUG-145963
Change-Id: Ib1f846e0564089772bc2787ec77db119d046e066
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit2f47db763fb0622b4b98cc7c2c6ba6d270442567
parent2f84a0b134bf66157a2ebd4ff7c3c51adfdfa9a6
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 23 Apr 2026 19:27:26 +0000