[Interest] C++/QML Sequence Type to JavaScript Array

2016-05-18 Thread Максим Бесчеревных
In docs http://doc.qt.io/qt-5/qtqml-cppintegration-data.html mentioned: "Certain C++ sequence types are supported transparently in QML as JavaScript Array types. In particular, QML currently supports: QList QList QList QList and QStringList QList Other sequence types are not

Re: [Interest] C++/QML Sequence Type to JavaScript Array

2016-02-18 Thread Jason H
> MyData object filled with some data and exposed as context property to QML. > At QML i imported QtPositioning, so QGeoCoordinate refers to coordinate QML > basic type, but > console.log(myData.path) prints QVariant(QList) > console.log(myData.path) prints undefined > - there is no

[Interest] C++/QML Sequence Type to JavaScript Array

2016-02-18 Thread Максим Бесчеревных
In docs http://doc.qt.io/qt-5/qtqml-cppintegration-data.html mentioned: "Certain C++ sequence types are supported transparently in QML as JavaScript Array types. In particular, QML currently supports: QList QList QList QList and QStringList QList Other sequence types are not