Skip to content
  • Aleix's avatar
    Autogen: Pass explicit predefines header to moc if possible · 09035319
    Aleix authored and Brad King's avatar Brad King committed
    Qt is relying on whoever calls moc to include a file with the predefined
    values that will be used by the compiler, otherwise moc takes wrong
    paths and weird things happen.
    Instead, generate an include file and feed it to all mocs to make sure
    it's generating correct code.
    
    Co-Author: Sebastian Holtermann <sebholt@xwmw.org>
    Fixes: #16640
    09035319