Add missing localGen.
Merge topic 'config-dependent-CMAKE_AUTOMOC' into next

a21ebb9 Add missing localGen.
QtAutomoc: Use config-dependent compile definitions and includes.

Instead of always using the includes and defines which are not
config-specific, ensure that the config specific ones can be used.

Task-number: #13589
Merge topic 'config-dependent-CMAKE_AUTOMOC' into next

ea4d784 QtAutomoc: Use config-dependent compile definitions and includes.