When I want to post a new value on MQTT broker i am calling a publish method named Q_INVOKABLE. However, the variable is saved as a Q_PROPERTY and a possible better flow would be to set a new value to that variable. Such action will emit a signal that can trigger the publish method. We should investigate on which one is better
Issue:
When I want to post a new value on MQTT broker i am calling a publish method named Q_INVOKABLE. However, the variable is saved as a Q_PROPERTY and a possible better flow would be to set a new value to that variable. Such action will emit a signal that can trigger the publish method. We should investigate on which one is better