I wanted to know what was the best way displaying contents of a vector in a QlistView.I am fairly new to QT hence the question. The vector content changes very fast hence speed is essential. I know you could set models in QT like by setting models
QStringList list; list << "item1" << "item2" << "item3" << "item4" << "item5"; ui.listView->setModel(new QStringListModel(list)); How would i do something like that with a vector or a deque type.