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>
commit03cc0dd51271862653fa1c8c85a093a77b5659e3
parent6918921f719f3dca65996e64f5455b95b8e59af1
authorMate Barany <mate.barany@qt.io>
committerMate Barany <mate.barany@qt.io>
commit timeMon, 12 Jun 2023 09:58:14 +0200