[Solved] QHash inside QHash
-
@QHash < int ,QHash> readDevices;@
@QVector<QHash> readDevices;@
Are these statements right?
[edit: solved / $chetankjain]
-
No. You need to use something like this:
@QHash<int, QHash<QString, QVariant> > someHash;@
and
@QVector<QHash<int, QPoint> > someVector;@
Note the space between the two >. That one is important as some compilers will break without it.
-
Thank you so much for such a quick answer.