Skip to content

Autogen: Add target's C++ standard to moc_predef.h

Desription

The C++ standard of the target is not passed to the compiler when moc_predef.h is generated. This can cause problems. To avoid those problems, the C++ target standard is passed as an argument.

Changes

  • Generation of Autogen commands divided into two separate parts. The reason is that the generation of Autogen commands that will run in the build time should wait for the compile features to be resolved.

For more info, the below links can be checked

Fixes: #24624 (closed)
Topic-rename: automoc-cxx-standard

Edited by Brad King

Merge request reports