[Development] QList for Qt 6

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Fri May 24 19:57:23 CEST 2019


Hi!

On Mon, 20 May 2019 at 10:53, Lars Knoll <lars.knoll at qt.io> wrote:
[snip]
> I’m not proposing to make QList inherit QVector. Actually, I’m making it an alias to QVector. See https://codereview.qt-project.org/c/qt/qtbase/+/242692 .
>
> With that, one option could be to make the alias dependent on a compile time setting for the application code (ie. have a simple define whether we do
>
> using QList = QVector
>
> Or
>
> using QList = Qt5Support::QList

That would actually be painful for distros. Once we take either route
we can't go back without breaking ABI. And we will possibly be
choosing different things in each distro, which makes it even worst.
Example: qreal in Qt5.

I really think Marc Mutz's approach would be more sensible in this case.


More information about the Development mailing list