QVector question
-
wrote on 24 Aug 2023, 06:17 last edited by
Good afternoon!
QVector question
I write as in the example:QVector<QString> vec; vec.append("In Extremo"); vec.append("Blackmore's Night"); vec. append ( "Cul tus Ferox") ;
But in the console when outputting through
qDebug () << vec;
I receive
QList("In Extremo", "Blackmore's Night", "Cul tus Ferox") -
Good afternoon!
QVector question
I write as in the example:QVector<QString> vec; vec.append("In Extremo"); vec.append("Blackmore's Night"); vec. append ( "Cul tus Ferox") ;
But in the console when outputting through
qDebug () << vec;
I receive
QList("In Extremo", "Blackmore's Night", "Cul tus Ferox")wrote on 24 Aug 2023, 06:25 last edited by Paul ColbyHi @kipalex,
As per the Qt6 docs, as of Qt6
QVector is an alias for QList.
They were different classes in Qt5. You can read more about the changes here.
Cheers.
-
Hi @kipalex,
As per the Qt6 docs, as of Qt6
QVector is an alias for QList.
They were different classes in Qt5. You can read more about the changes here.
Cheers.
wrote on 24 Aug 2023, 09:42 last edited by@Paul-Colby Thanx.
-
3/3