[Development] HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO
Andreas Aardal Hanssen
andreas at hanssen.name
Fri Jul 10 14:19:54 CEST 2015
> On 10 Jul 2015, at 14:58, Marc Mutz <marc.mutz at kdab.com> wrote:
> On Friday 10 July 2015 13:37:40 Andreas Aardal Hanssen wrote:
>> QList<QImage>.
> You just proved my point. sizeof(QImage) > sizeof(void*). If even you as a
> long-time Troll don't understand what QList actually does, there's a problem.
> Don't you agree?
At the very worst it would be a bug if QList created a list of pointers to new QImages. I can’t say when that bug was introduced though.
Andreas
More information about the Development
mailing list