[Interest] Accessing Qbytearray of C++ in QML

Nilesh Kokane nilesh.kokane at mindastoneridge.com
Fri Nov 21 10:14:13 CET 2014


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<MainWindow>("serial", 1, 0, "serialdata"); and imported the
serial 1.0 in the qml file. Am i wrong somewhere.

-- 
Nilesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141121/e6c39f09/attachment.html>


More information about the Interest mailing list