[Development] Proposal: Deprecate QVector in Qt 6
giuseppe.dangelo at kdab.com
Thu Apr 23 11:45:28 CEST 2020
On 4/23/20 10:55 AM, Simon Hausmann wrote:
> So take for example this function in QIconEngine:
> virtual QList<QSize> availableSizes(QIcon::Mode mode =
> Icon::Normal, QIcon::State state = QIcon::Off) const;
> If we change that to QVector, we require our users to clutter their code
> base with #ifdefs. If we keep it with QList but use QVector in all
> non-virtual functions, then we create a less consistent API.
Why do you say "we require"? What kind of user code would break?
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...
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
More information about the Development