Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML: Receive signals from C++ object in different thread

$
0
0
HI Everyone I hope I’m phrasing this correct. I want to send a signal from a C++ object running in a different thread than main.cpp, to a QML window. Currently I use the main.qml, which receives the signal and passes it to the QML window that needs to do some stuff when the signal is emitted. This does’nt feel right. Is there a pattern to do this? I guess binding the object to QML, even though its running in a different thread. Thanks for the help.

Viewing all articles
Browse latest Browse all 4972

Trending Articles