QDoc: Disable Qt keyword macros


Qt defines convenience macros for signal-slot keywords such as
`emit`, `signals`, and `slots`. QDoc doesn't use signals and
slots, yet these macros pollute the preprocessor namespace when
compiling against third-party headers.

Upstream LLVM changes introduce a transitive inclusion chain that
pulls in a header containing a bare `emit` method. Qt's empty
`emit` macro turns the method declaration into a syntax error.
Distribution packagers such as Arch Linux have worked around this
with QT_NO_EMIT. Disabling all Qt keyword macros goes one step
further and future-proofs a tool that has no use for them against
similar collisions.

Pick-to: 6.11
Task-number: QTBUG-144620
Change-Id: I6226e854159ec6d7a6d2a83a16dc850e93598045
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit29bcd0789efaa36f6efa9ca512fbea9781f7d683
parent636288c33f77da322ee9f3ee652ed769e0dda611
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 11 Mar 2026 11:58:43 +0100