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

Create and Control a QML Component from C++

$
0
0
Hello, I am a beginner in qt-qml, I am trying to implement a client-sever application an hmi (a minimal one), the client receives data from server as messages and the client has to display the data on screen, data is nothing but position of an object which varies w.r.t time. single or multiple objects may be there, i have implemented the client-server application and i am able to send some text and display it on qml ui. But now i want to create a qml component, say a small rectangle, on qml screen when i receive a position data message, and update the position of the rectangle when another message is received for the same object. Can a qml component be created/updated/deleted from c++ side, when i receive a message from the server. OR Can i notify the qml ui that a message has arrived and create/update/delete a component for that message. Please tell me how this can be implemented. Thanks in Advance Georgy Daniel

Viewing all articles
Browse latest Browse all 4972

Trending Articles