[Development] HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

Curtis Mitch mitch.curtis at theqtcompany.com
Fri Jul 10 12:12:52 CEST 2015



> -----Original Message-----
> From: development-bounces+mitch.curtis=theqtcompany.com at qt-project.org
> [mailto:development-bounces+mitch.curtis=theqtcompany.com at qt-
> project.org] On Behalf Of Giuseppe D'Angelo
> Sent: Friday, 10 July 2015 12:05 PM
> To: Smith Martin; development at qt-project.org
> Subject: Re: [Development] HEADS UP: Don't use QList, use
> Q_DECLARE_TYPEINFO
> 
[snip]
> 
> (*) not movable, or bigger than a void*. And user-defined types are not
> movable by default (they're complex). And if we forget
> Q_DECLARE_TYPEINFO on public types, we can't add it back because it's
> binary incompatible.

How is it binary incompatible?

> Cheers,
> --
> Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Software Engineer
> KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
> KDAB - The Qt Experts



More information about the Development mailing list