How do I declare a list property in QML (for use with Qt.labs.settings
in my case):
Settings {
property list recentFiles: []
}
Does not work. I've tried many other options: list<string>
, string[]
, etc. None seem to work.
Settings {
property var recentFiles: []
}