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>