[Development] HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO
Kevin Kofler
kevin.kofler at chello.at
Sun Aug 9 03:26:33 CEST 2015
Marc Mutz wrote:
> On Friday 07 August 2015 19:41:07 Kuba Ober wrote:
>> How about making such traits explicitly necessary? People would then have
>> to learn about them. As a user, I wouldn't mind - the compiler would pick
>> it all up for me.
>
> An option for Qt 6, but for Qt 5, it would be a source-incompatible
> change.
Or, since we're already discussing source-incompatible changes, how about
defaulting to Q_MOVABLE_TYPE? It's the common case, and if you screw up,
you'll notice it crash and burn pretty quickly.
Kevin Kofler
More information about the Development
mailing list