qt5 - How to declare list property in QML -


How do I declare a listing property in QML (with qt.labs.settings My Case):

  Settings {Property list Recent files: []}  

does not work I try several other options Is: list & lt; String & gt; , string [] , etc. Nobody starts doing work.

  settings {property var recentFiles: []}  
< P>


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -