Inspired by core#6433 and core#30454
QT_NO_KEYWORDS prevents Qt from defining the foreach, signals, slots and emit macros.
In a future core backport a signals member will be added to a struct, which will clash with the signals macro defined by Qt. We already use Q_SIGNALS instead of signals everywhere in the Qt code, so this should not change anything for now.