Re: [Interest] Accessing Qbytearray of C++ in QML

2014-11-21 Thread Nilesh Kokane
Hi Alejandro, Thanks for your suggestion. I made it all working with the string. On Fri, Nov 21, 2014 at 3:54 PM, Alejandro Exojo wrote: > El Friday 21 November 2014, Nilesh Kokane escribió: > > Hi, > > > > I'm accessing the Qbytearray from c++ in the qml code and assigning it > to > > a prope

Re: [Interest] Accessing Qbytearray of C++ in QML

2014-11-21 Thread Alejandro Exojo
El Friday 21 November 2014, Nilesh Kokane escribió: > Hi, > > I'm accessing the Qbytearray from c++ in the qml code and assigning it to > a property real ,but getting error while run as *qrc:///main.qml:65: Error: > Cannot assign [undefined] to double*. A "real" in QML is a double in C++. How do

[Interest] Accessing Qbytearray of C++ in QML

2014-11-21 Thread Nilesh Kokane
Hi, I'm accessing the Qbytearray from c++ in the qml code and assigning it to a property real ,but getting error while run as *qrc:///main.qml:65: Error: Cannot assign [undefined] to double*. I've registered the c++ class in the main by qmlRegisterType("serial", 1, 0, "serialdata"); and importe