Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Exposing a QMap to qml



  • I want to display a QMap<int, MyObject> in a list, but how to do that because QQmlListProperty<MyObject>(this, myobjects)throws an error