Qt 6.12
Qt Quick
Models and Views: String ListModel Example
Qt 6.12.0 Reference Documentation
Models and Views: String ListModel Example
Shows how to use a QStringList as a model in QML.
Example project @ code.qt.io