Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
2D array with dyanamic size
MyQT last edited by
I have created two dimentional array @QString Data@ with constant size..
Now My application is demanding that array size should be dyanamic.
What is the best way to implement two dimentional array with dyanamic size.
I am using this array to store the data of tableview.
trollixx last edited by
If you are implementing storage for your custom model you may use a sort of QVector<QVector<QString> > to have dynamically sized matrix, or just go with QStandardItemModel which provides ready to use storage.
stereomatching last edited by
How about Boost multiArray?