Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to cast to type QMap<QString, QVariant>
-
How can I cast QMap<QString, QObject*> to QMap<QString, QVariant> ??
casting to QMap in general doesn't seem to work.
-
You can't. The only solution I came to would be to manually copy the contents of the one type to the other type.
-
Do you know how to expose the QMap<QString, QObject*> to QML ?
Can't seem to get it to work properly
-
There should be some means, if I recall correctly. I don't know the details, sorry.