The line "The QML engine provides automatic type conversion between QVariantList and _javascript_ arrays, and between QVariantMap and _javascript_ objects." Is not to be missed. It's pretty awesome stuff.
Sent: Tuesday, January 05, 2016 at 2:06 PM
From: "Dmitry Volosnykh" <dmitry.volosn...@gmail.com>
To: willemfergu...@zoology.up.ac.za, interest@qt-project.org
Subject: Re: [Interest] Context ambiguities when exposing a Qt Stringlist to QML
From: "Dmitry Volosnykh" <dmitry.volosn...@gmail.com>
To: willemfergu...@zoology.up.ac.za, interest@qt-project.org
Subject: Re: [Interest] Context ambiguities when exposing a Qt Stringlist to QML
Documentation states:
"There are two ways in which such sequences can be exposed to QML: as a Q_PROPERTY of the given sequence type; or as the return type of a Q_INVOKABLE method." Nothing is being said about global context injection. For more information on data type conversion between C++ and QML please refer to http://doc.qt.io/qt-5/qtqml-cppintegration-data.html#sequence-type-to-_javascript_-array
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest