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