QVector question
-
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")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.
-
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.
@Paul-Colby Thanx.
-
S SGaist has marked this topic as solved on