So originally, QByteArray was not supported in QML. Then this happened in 5.8: 
http://doc.qt.io/qt-5/qtqml-cppintegration-data.html#qbytearray-to-javascript-arraybuffer

So naturally I tried to emit newData(QByteArray data), but this was not caught 
by my connections:

Connection {
    target: shim
    onNewData: {
       console.log(data)
    }
}

I then tested this with having my slot handleNewData(QByteArray data) emit an 
additional signal hasNewData(bool), added it to the connections, and I was able 
to get it to work.

Is this a bug or am I trying to do eomething known to be wrong?
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to