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

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed Sep 2 15:43:58 CEST 2020


Il 02/09/20 15:32, Dmitriy Purgin ha scritto:
> As far as I remember, until recently, for years we were told in this 
> mailing list to move away from QList and use QVector as default, because 
> QList will be deprecated/removed in Qt 6 anyway.

Search in this ML's archives. The short story:

* QList became QVector, meaning it's got QVector behavior
* To avoid changing a ton of code, QList is the type used in API and 
"list" suffix is kept in names

My 2 c,

-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200902/8d9c1faa/attachment-0001.bin>


More information about the Development mailing list