[SOLVED] QML point type
It's probably silly question, but how to use QML point type?
I want to declare own property of type point and got no clue how to do it -
@property point myPoint: "10, 20"@
@Point is not a type@
It isn't currently possible to declare point-type properties from QML, so you'll need to do something like:
@property variant myPoint: Qt.point(10,20)@
Thank you, this is exactly what I wanted.