Skip to content

Autogen: Refactor target initialization

The moc/uic/rcc settings computation code in cmQtAutoGenInitializer was scattered over the init and the setup stage in

  • cmQtAutoGenInitializer::InitCustomTargets() and
  • cmQtAutoGenInitializer::SetupCustomTargets().

These patches move all settings computation code to the init stage. The task that is left for the setup stage is to write the info files for the autogen and rcc targets.

Furthermore a test for Qt's Q_OS_ is added in preparation to fix #18041 (closed);

Edited by Sebastian Holtermann

Merge request reports