[Development] Important recent changes in QList/QString/QByteArray

Thiago Macieira thiago.macieira at intel.com
Tue Sep 1 19:31:58 CEST 2020

On Tuesday, 1 September 2020 09:05:48 PDT NIkolai Marchenko wrote:
> Wait what? The switch to Qt6 was supposed to become a painless process yet
> you're introducing important and hard to notice in real code changes that
> can result in undefined behaviour?
> What? WHAT?!

There's no violation. Your code was incorrect in the past, it just happened to 

Assume any and all non-const function will invalidate iterators.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering

More information about the Development mailing list