How to use a signal on QML side
-
I have a class in C++ side and I have passed this class to QML with qmlRegisterType. C++ class triggers a certain signal, how do I detect this trigger by QML
C++Q_PROPERTY(int pitch READ pitch WRITE setPitch NOTIFY pitchChanged) . . .
QML
MainRos{ id:main_ros objectName: "main_ros_qml" } Connections{ target:main_ros pitchChanged: { console.log("Camera slider value changed:", value); } }
this code is not working.
-
S serkan_tr has marked this topic as solved on