QDoc: Enable strict mode up to Qt 6.11
Code that relies on deprecated patterns tends to accumulate quietly
when the compiler doesn't flag it. Strict mode makes these patterns
visible at build time, catching implicit ASCII conversions, contextless
signal-slot connections, and other constructs that Qt has superseded
with safer alternatives.
Both the qdoc executable and QDocLib library targets now compile with
QT_ENABLE_STRICT_MODE_UP_TO set to 6.11.0, enforcing the full set of
current strictness checks.
Fixes: QTBUG-145609
Task-number: QTBUG-145285
Pick-to: 6.11
Change-Id: I660a41e78b3f863007252f0ae22008f6334c068d
Reviewed-by: Topi Reinio <topi.reinio@qt.io>