QMqttClient to QML and using it in a Qt Quick user interface."> Quick MQTT Example | Qt MQTT 6.5.1

Quick MQTT Example

 <RCC>
     <qresource prefix="/">
         <file>main.qml</file>
     </qresource>
 </RCC>