How can I Fill a 2D QVector with a Loop and Get the size of each Row?
Solved
C++ Gurus
-
I have a QVector<QVector<QString>> Temporal and I dont know how to fill it with "for" and dont know how to get the size of each row.
-
Hi,
For the size, just iterate over each row of your vector and call the size function.
As for filling, create a QVector for each row and append it to your main QVector object.
@SGaist How can i insert a QVector into a QVector?
-
-
@SGaist Thx it works great.