[Development] Fwd: Change in qt/qtbase[5.6]: Move QButtonGroup implementation from qabstractbutton.cpp to...

Marc Mutz marc.mutz at kdab.com
Fri Mar 18 11:01:15 CET 2016


On Friday 18 March 2016 10:26:14 Marc Mutz wrote:
> Hi,
> 
> Compiler upgraded in the CI without checking Qt compiles with it first? :)

Sorry for accusing the CI team. It turns out to be cause by one of my patches.

It's triggered by running includemocs in src/widgets. Clang now sees all the 
functions in the class, including moc-generated ones, and is able to emit this 
warning.

Another reason (besides the executable size savings) to always include the 
generated code into the class' cpp file.


Marc

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list