Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi everyone, I need a QList to held another QList. It is like @QList<QList> list;@
Is there any way to do it? Thanks in advance,
Yes, you can use QList<QList<yourItem> >
Just don't forget the space between the ">" to make a distinction with the >> operator.
Thank you. It never cross my mind that put a space between the operators.
Nope. it's just that there is an operator >>. Like for example @qDebug() << myObject @ To make a distinction with this and our case, ( for the moc compilation ), a space helps to avoid confusion.