Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

[SOLVED]Multidimensional array

$
0
0
Hi guys, I’m trying to use a multidimensional array: QList<QList<QVariant> > info; //Append QList<QVariant> works... info.at(0).append(query->value(0)); When I try do append same data at info (line 3) I have the error: “error: passing ‘const QList<QVariant>’ as ‘this’ argument of ‘void QList<T>::append(const T&) [with T = QVariant]’ discards qualifiers” Does anyone has a clue of how to fix this? Thanks.

Viewing all articles
Browse latest Browse all 18427

Trending Articles