[Development] Qt 5.5.0 header diff

Marc Mutz marc.mutz at kdab.com
Thu Jun 11 16:26:07 CEST 2015


On Thursday 11 June 2015 13:56:12 Knoll Lars wrote:
> >- QAbstractVideoFilter should re-use QObject::d_ptr instead of adding its
> >own
> >  (though its unclear why it's inheriting QObject in the first place).
> 
> It could, since the module depends on private apis in Qt Core anyway.
> Still, no show stopper for me.

Can't be changed later, as it would be BiC. And since it only adds a bool, 
having its own d_ptr is kinda _really_, _really_ overkill.

> And it’s a QObject, because it gets exposed
> to QML.

That's not a reason, is it? There's other ways (Q_GADGET?) to get stuff into 
QML without carrying the baggage of a QObject around, aren't there?

Thanks,
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