[Development] QList

Lars Knoll lars.knoll at qt.io
Mon Mar 20 22:01:54 CET 2017


> On 20 Mar 2017, at 19:04, Marc Mutz <marc.mutz at kdab.com> wrote:
> 
> On Monday 20 March 2017 16:10:53 Lars Knoll wrote:
>> This means we have to be careful with any changes that could break large
>> amounts of source code. So QList will have to exist as a type in Qt 6 with
>> an API that is as source compatible to the one in Qt 5 as we can make it,
>> while we need to still try to deprecate it for new code and offer better
>> alternatives.
> 
> "Deprecate for new code"? What does that mean, exactly?

Pretty much the same as just 'deprecate' ;-)

We don't use it ourselves anymore in our API (and have hopefully removed in as much as possible in our implementations). Existing user code using the class should continue to work as much as possible (maybe with somewhat different performance characteristics though). Compiler warnings when using it should be there, but people will need an option to turn them off so they don't drown in them.

Cheers,
Lars




More information about the Development mailing list