Call C++ function from QML

Hello everyone,

I want to add a new MAVlink message value for QGC to the interface. So I have to use the return value of the C++ function in the QML file, but when I do it as follows, I get an error and cannot read the value. Anyone know the solution?

Vehiclecc
Vehicleh
Vehicleqml

Which one?

In addition, from your source code snippet it’s not clear what “message” is and where it come from…