Skip to content

Autogen: Don't add WIN32 moc definition when moc_predefs.h is available

These patches provide the following changes.

  • Separates the Autogen tests in Qt core only and Qt gui/widgets tests
  • Adds a Qt core only test that has AUTOUIC enabled targets that don't link against QtXWidgets
  • Under windows we now don't add a WIN32 moc definition if we have a moc_predefs.h file (which should provide the WIN32 definition)

Fixes: #18623 (closed)

Edited by Sebastian Holtermann

Merge request reports