QuickSubscription example: Port CMakeLists.txt to use qt_add_qml_module
Port the CmakeLists.txt and change the source files accordingly:
- rename main.qml to Main.qml
- remove MqttClient import from Main.qml
- add QML macros to qmlmqttclient.h
- revamp main.cpp
Also update the qmake build:
- revamp quicksubscription.pro
- add qmldir to project
- remove qml.qrc
Pick-to: 6.6 6.5
Task-number: QTBUG-110893
Change-Id: Ie7c0dd260e94c1e1ad4756fb21a70f24f2c60f87
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>