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