How to populate a QML List with QStrings from C++ using signals?
Unsolved
QML and Qt Quick
-
If you want to manipulate the model from C++, it would make sense to use a C++ model instead of QML ListModel. For example, if you need nothing else but a list of strings, you could use
QStringListModel
. -
Hi! There is an nice explanation of how to use QStringList-based models: Using C++ Models with Qt Quick Views.