Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
None
-
None
Description
At the moment developers have to use QObject derived heavy objects with properies or QVariantMap with heap allocation. It seems not the most performant solution.
-------------------------------------------------------------
C++:
class MyQMLType : public QMLDataType
-------------------------------------------------------------
QML:
Rectangle {
property MyQMLType data: model.getData()
x: data.x
y: data.y
color: data.color
}