Important: Please read the Qt Code of Conduct -

Getting variable integer value from cpp

  • Hi everyone;

    I have a project about Serial Port. I can see the my value in Ui.
    but how can I send this variable values to qml.

    I create UiBridge class and I can take value from serial port. but only the first value appear on screen. I cant see the change. how can I build a loop or sth. that helps me?

  • Lifetime Qt Champion


    Sounds like you need a property with a signal so you can connect your QtQuick GUI on it to get the latest values.

    See here

Log in to reply