Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

[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 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>