Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qt6-mqtt for openSUSE:Factory 
checked in at 2023-10-02 20:05:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-mqtt (Old)
 and      /work/SRC/openSUSE:Factory/.qt6-mqtt.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qt6-mqtt"

Mon Oct  2 20:05:35 2023 rev:23 rq:1114498 version:6.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/qt6-mqtt/qt6-mqtt.changes        2023-07-26 
13:23:07.375713672 +0200
+++ /work/SRC/openSUSE:Factory/.qt6-mqtt.new.28202/qt6-mqtt.changes     
2023-10-02 20:07:24.784847139 +0200
@@ -1,0 +2,6 @@
+Thu Sep 28 07:34:13 UTC 2023 - Christophe Marin <christo...@krop.fr>
+
+- Update to 6.5.3
+  * https://www.qt.io/blog/qt-6.5.3-released
+
+-------------------------------------------------------------------

Old:
----
  qtmqtt-everywhere-src-6.5.2.tar.xz

New:
----
  qtmqtt-everywhere-src-6.5.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qt6-mqtt.spec ++++++
--- /var/tmp/diff_new_pack.GqGpIK/_old  2023-10-02 20:07:25.936888570 +0200
+++ /var/tmp/diff_new_pack.GqGpIK/_new  2023-10-02 20:07:25.936888570 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define real_version 6.5.2
+%define real_version 6.5.3
 %define short_version 6.5
 %define tar_name qtmqtt-everywhere-src
 %define tar_suffix %{nil}
@@ -27,7 +27,7 @@
 %endif
 #
 Name:           qt6-mqtt%{?pkg_suffix}
-Version:        6.5.2
+Version:        6.5.3
 Release:        0
 Summary:        Qt 6 Module to implement MQTT protocol version 3.1 and 3.1.1
 License:        GPL-3.0-only WITH Qt-GPL-exception-1.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.GqGpIK/_old  2023-10-02 20:07:25.984890297 +0200
+++ /var/tmp/diff_new_pack.GqGpIK/_new  2023-10-02 20:07:25.992890584 +0200
@@ -1,9 +1,9 @@
 <services>
   <service name="tar_scm" mode="disabled">
    <param name="changesgenerate">disable</param>
-   <param name="version">6.5.2</param>
+   <param name="version">6.5.3</param>
    <param name="url">git://code.qt.io/qt/qtmqtt.git</param>
-   <param name="revision">v6.5.2</param>
+   <param name="revision">v6.5.3</param>
    <param name="scm">git</param>
    <param name="filename">qtmqtt-everywhere-src</param>
   </service>

++++++ qtmqtt-everywhere-src-6.5.2.tar.xz -> qtmqtt-everywhere-src-6.5.3.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtmqtt-everywhere-src-6.5.2/.cmake.conf 
new/qtmqtt-everywhere-src-6.5.3/.cmake.conf
--- old/qtmqtt-everywhere-src-6.5.2/.cmake.conf 2023-07-07 14:29:57.000000000 
+0200
+++ new/qtmqtt-everywhere-src-6.5.3/.cmake.conf 2023-09-24 11:46:21.000000000 
+0200
@@ -1,3 +1,3 @@
-set(QT_REPO_MODULE_VERSION "6.5.2")
+set(QT_REPO_MODULE_VERSION "6.5.3")
 set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
 set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtmqtt-everywhere-src-6.5.2/dependencies.yaml 
new/qtmqtt-everywhere-src-6.5.3/dependencies.yaml
--- old/qtmqtt-everywhere-src-6.5.2/dependencies.yaml   2023-07-07 
14:29:57.000000000 +0200
+++ new/qtmqtt-everywhere-src-6.5.3/dependencies.yaml   2023-09-24 
11:46:21.000000000 +0200
@@ -1,7 +1,7 @@
 dependencies:
   ../qtbase:
-    ref: af457a9f0f7eb1a2a7d11f495da508faab91a442
+    ref: 372eaedc5b8c771c46acc4c96e91bbade4ca3624
     required: true
   ../qtdeclarative:
-    ref: f289063ff19588a11dd79213632785cfda2909a0
+    ref: e00c258fa5a4e122636d441967dea035865fac5d
     required: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/CMakeLists.txt 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/CMakeLists.txt
--- 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/CMakeLists.txt   
    2023-07-07 14:29:57.000000000 +0200
+++ 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/CMakeLists.txt   
    2023-09-24 11:46:21.000000000 +0200
@@ -4,8 +4,6 @@
 cmake_minimum_required(VERSION 3.16)
 project(quickpublication LANGUAGES CXX)
 
-set(CMAKE_AUTOMOC ON)
-
 if(NOT DEFINED INSTALL_EXAMPLESDIR)
     set(INSTALL_EXAMPLESDIR "examples")
 endif()
@@ -14,9 +12,12 @@
 
 find_package(Qt6 REQUIRED COMPONENTS Core Gui Mqtt Qml Quick)
 
+qt_standard_project_setup(REQUIRES 6.5)
+
 qt_add_executable(quickpublication
+    WIN32
+    MACOSX_BUNDLE
     main.cpp
-    qmlmqttclient.cpp qmlmqttclient.h
 )
 
 set_target_properties(quickpublication PROPERTIES
@@ -28,7 +29,7 @@
     QT_DEPRECATED_WARNINGS
 )
 
-target_link_libraries(quickpublication PUBLIC
+target_link_libraries(quickpublication PRIVATE
     Qt::Core
     Qt::Gui
     Qt::Mqtt
@@ -36,16 +37,12 @@
     Qt::Quick
 )
 
-# Resources:
-set(qml_resource_files
-    "main.qml"
-)
-
-qt6_add_resources(quickpublication "qml"
-    PREFIX
-        "/"
-    FILES
-        ${qml_resource_files}
+qt_add_qml_module(quickpublication
+    URI publication
+    QML_FILES
+        "Main.qml"
+    SOURCES
+        qmlmqttclient.cpp qmlmqttclient.h
 )
 
 install(TARGETS quickpublication
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/Main.qml 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/Main.qml
--- old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/Main.qml     
1970-01-01 01:00:00.000000000 +0100
+++ new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/Main.qml     
2023-09-24 11:46:21.000000000 +0200
@@ -0,0 +1,181 @@
+// Copyright (C) 2018 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+import QtQuick
+import QtQuick.Window
+import QtQuick.Controls
+import QtQuick.Layouts
+
+Window {
+    visible: true
+    width: 640
+    height: 480
+    title: qsTr("Qt Quick MQTT Publish Example")
+    id: root
+
+    MqttClient {
+        id: client
+        hostname: hostnameField.text
+        port: portField.text
+    }
+
+    ListModel {
+        id: messageModel
+    }
+
+    function addMessage(payload)
+    {
+        messageModel.insert(0, {"payload" : payload})
+
+        if (messageModel.count >= 100)
+            messageModel.remove(99)
+    }
+
+    GridLayout {
+        anchors.fill: parent
+        anchors.margins: 10
+        columns: 2
+
+        Label {
+            text: "Hostname:"
+            enabled: client.state === MqttClient.Disconnected
+        }
+
+        TextField {
+            id: hostnameField
+            Layout.fillWidth: true
+            text: "test.mosquitto.org"
+            placeholderText: "<Enter host running MQTT broker>"
+            enabled: client.state === MqttClient.Disconnected
+        }
+
+        Label {
+            text: "Port:"
+            enabled: client.state === MqttClient.Disconnected
+        }
+
+        TextField {
+            id: portField
+            Layout.fillWidth: true
+            text: "1883"
+            placeholderText: "<Port>"
+            inputMethodHints: Qt.ImhDigitsOnly
+            enabled: client.state === MqttClient.Disconnected
+        }
+
+        Button {
+            id: connectButton
+            Layout.columnSpan: 2
+            Layout.fillWidth: true
+            text: client.state === MqttClient.Connected ? "Disconnect" : 
"Connect"
+            onClicked: {
+                if (client.state === MqttClient.Connected) {
+                    client.disconnectFromHost()
+                    messageModel.clear()
+                } else
+                    client.connectToHost()
+            }
+        }
+
+        GridLayout {
+            enabled: client.state === MqttClient.Connected
+            Layout.columnSpan: 2
+            Layout.fillWidth: true
+            columns: 4
+
+            Label {
+                text: "Topic:"
+            }
+
+            TextField {
+                id: pubField
+                Layout.fillWidth: true
+                placeholderText: "<Publication topic>"
+            }
+
+            Label {
+                text: "Message:"
+            }
+
+            TextField {
+                id: msgField
+                Layout.fillWidth: true
+                placeholderText: "<Publication message>"
+            }
+
+            Label {
+                text: "QoS:"
+            }
+
+            ComboBox {
+                id: qosItems
+                Layout.fillWidth: true
+                editable: false
+                model: [0, 1, 2]
+            }
+
+            CheckBox {
+                id: retain
+                checked: false
+                text: "Retain"
+            }
+
+            Button {
+                id: pubButton
+                Layout.fillWidth: true
+                text: "Publish"
+                onClicked: {
+                    if (pubField.text.length === 0) {
+                        console.log("No payload to send. Skipping publish...")
+                        return
+                    }
+                    client.publish(pubField.text, msgField.text, 
qosItems.currentText, retain.checked)
+                    root.addMessage(msgField.text)
+                }
+            }
+        }
+
+        ListView {
+            id: messageView
+            model: messageModel
+            implicitHeight: 300
+            implicitWidth: 200
+            Layout.fillHeight: true
+            Layout.fillWidth: true
+            Layout.columnSpan: 2
+            clip: true
+            delegate: Rectangle {
+                id: delegatedRectangle
+                required property int index
+                required property string payload
+                width: ListView.view.width
+                height: 30
+                color: index % 2 ? "#DDDDDD" : "#888888"
+                radius: 5
+                Text {
+                    text: delegatedRectangle.payload
+                    anchors.centerIn: parent
+                }
+            }
+        }
+
+        Label {
+            function stateToString(value) {
+                if (value === 0)
+                    return "Disconnected"
+                else if (value === 1)
+                    return "Connecting"
+                else if (value === 2)
+                    return "Connected"
+                else
+                    return "Unknown"
+            }
+
+            Layout.columnSpan: 2
+            Layout.fillWidth: true
+            color: "#333333"
+            text: "Status:" + stateToString(client.state) + "(" + client.state 
+ ")"
+            enabled: client.state === MqttClient.Connected
+        }
+    }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/main.cpp 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/main.cpp
--- old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/main.cpp     
2023-07-07 14:29:57.000000000 +0200
+++ new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/main.cpp     
2023-09-24 11:46:21.000000000 +0200
@@ -1,23 +1,21 @@
 // Copyright (C) 2018 The Qt Company Ltd.
 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
 
-#include "qmlmqttclient.h"
+#include <QtQml/qqmlapplicationengine.h>
+#include <QtGui/qguiapplication.h>
 
-#include <QGuiApplication>
-#include <QQmlApplicationEngine>
-#include <QLoggingCategory>
+using namespace Qt::StringLiterals;
 
 int main(int argc, char *argv[])
 {
     QGuiApplication app(argc, argv);
-
     QQmlApplicationEngine engine;
 
-    qmlRegisterType<QmlMqttClient>("MqttClient", 1, 0, "MqttClient");
+    QObject::connect(
+            &engine, &QQmlApplicationEngine::objectCreationFailed, &app,
+            []() { QCoreApplication::exit(EXIT_FAILURE); }, 
Qt::QueuedConnection);
 
-    engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
-    if (engine.rootObjects().isEmpty())
-        return -1;
+    engine.loadFromModule(u"publication"_s, u"Main"_s);
 
-    return app.exec();
+    return QGuiApplication::exec();
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/main.qml 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/main.qml
--- old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/main.qml     
2023-07-07 14:29:57.000000000 +0200
+++ new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/main.qml     
1970-01-01 01:00:00.000000000 +0100
@@ -1,179 +0,0 @@
-// Copyright (C) 2018 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-import QtQuick 2.8
-import QtQuick.Window 2.2
-import QtQuick.Controls 2.1
-import QtQuick.Layouts 1.1
-import MqttClient 1.0
-
-Window {
-    visible: true
-    width: 640
-    height: 480
-    title: qsTr("Qt Quick MQTT Publish Example")
-    id: root
-
-    MqttClient {
-        id: client
-        hostname: hostnameField.text
-        port: portField.text
-    }
-
-    ListModel {
-        id: messageModel
-    }
-
-    function addMessage(payload)
-    {
-        messageModel.insert(0, {"payload" : payload})
-
-        if (messageModel.count >= 100)
-            messageModel.remove(99)
-    }
-
-    GridLayout {
-        anchors.fill: parent
-        anchors.margins: 10
-        columns: 2
-
-        Label {
-            text: "Hostname:"
-            enabled: client.state === MqttClient.Disconnected
-        }
-
-        TextField {
-            id: hostnameField
-            Layout.fillWidth: true
-            text: "test.mosquitto.org"
-            placeholderText: "<Enter host running MQTT broker>"
-            enabled: client.state === MqttClient.Disconnected
-        }
-
-        Label {
-            text: "Port:"
-            enabled: client.state === MqttClient.Disconnected
-        }
-
-        TextField {
-            id: portField
-            Layout.fillWidth: true
-            text: "1883"
-            placeholderText: "<Port>"
-            inputMethodHints: Qt.ImhDigitsOnly
-            enabled: client.state === MqttClient.Disconnected
-        }
-
-        Button {
-            id: connectButton
-            Layout.columnSpan: 2
-            Layout.fillWidth: true
-            text: client.state === MqttClient.Connected ? "Disconnect" : 
"Connect"
-            onClicked: {
-                if (client.state === MqttClient.Connected) {
-                    client.disconnectFromHost()
-                    messageModel.clear()
-                } else
-                    client.connectToHost()
-            }
-        }
-
-        GridLayout {
-            enabled: client.state === MqttClient.Connected
-            Layout.columnSpan: 2
-            Layout.fillWidth: true
-            columns: 4
-
-            Label {
-                text: "Topic:"
-            }
-
-            TextField {
-                id: pubField
-                Layout.fillWidth: true
-                placeholderText: "<Publication topic>"
-            }
-
-            Label {
-                text: "Message:"
-            }
-
-            TextField {
-                id: msgField
-                Layout.fillWidth: true
-                placeholderText: "<Publication message>"
-            }
-
-            Label {
-                text: "QoS:"
-            }
-
-            ComboBox {
-                id: qosItems
-                Layout.fillWidth: true
-                editable: false
-                model: [0, 1, 2]
-            }
-
-            CheckBox {
-                id: retain
-                checked: false
-                text: "Retain"
-            }
-
-            Button {
-                id: pubButton
-                Layout.fillWidth: true
-                text: "Publish"
-                onClicked: {
-                    if (pubField.text.length === 0) {
-                        console.log("No payload to send. Skipping publish...")
-                        return
-                    }
-                    client.publish(pubField.text, msgField.text, 
qosItems.currentText, retain.checked)
-                    addMessage(msgField.text)
-                }
-            }
-        }
-
-        ListView {
-            id: messageView
-            model: messageModel
-            height: 300
-            width: 200
-            Layout.fillHeight: true
-            Layout.fillWidth: true
-            Layout.columnSpan: 2
-            clip: true
-            delegate: Rectangle {
-                width: messageView.width
-                height: 30
-                color: index % 2 ? "#DDDDDD" : "#888888"
-                radius: 5
-                Text {
-                    text: payload
-                    anchors.centerIn: parent
-                }
-            }
-        }
-
-        Label {
-            function stateToString(value) {
-                if (value === 0)
-                    return "Disconnected"
-                else if (value === 1)
-                    return "Connecting"
-                else if (value === 2)
-                    return "Connected"
-                else
-                    return "Unknown"
-            }
-
-            Layout.columnSpan: 2
-            Layout.fillWidth: true
-            color: "#333333"
-            text: "Status:" + stateToString(client.state) + "(" + client.state 
+ ")"
-            enabled: client.state === MqttClient.Connected
-        }
-    }
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/qml.qrc 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/qml.qrc
--- old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/qml.qrc      
2023-07-07 14:29:57.000000000 +0200
+++ new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/qml.qrc      
1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-<RCC>
-    <qresource prefix="/">
-        <file>main.qml</file>
-    </qresource>
-</RCC>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/qmldir 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/qmldir
--- old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/qmldir       
1970-01-01 01:00:00.000000000 +0100
+++ new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/qmldir       
2023-09-24 11:46:21.000000000 +0200
@@ -0,0 +1,4 @@
+module publication
+
+prefer :/qt/qml/publication/
+Main 1.0 Main.qml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/qmlmqttclient.cpp
 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/qmlmqttclient.cpp
--- 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/qmlmqttclient.cpp
    2023-07-07 14:29:57.000000000 +0200
+++ 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/qmlmqttclient.cpp
    2023-09-24 11:46:21.000000000 +0200
@@ -45,8 +45,6 @@
         return;
     }
     m_client.setPort(static_cast<quint16>(newPort));
-
-    m_client.state();
 }
 
 const QMqttClient::ClientState QmlMqttClient::state() const
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/qmlmqttclient.h 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/qmlmqttclient.h
--- 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/qmlmqttclient.h  
    2023-07-07 14:29:57.000000000 +0200
+++ 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/qmlmqttclient.h  
    2023-09-24 11:46:21.000000000 +0200
@@ -7,12 +7,16 @@
 #include <QtCore/QMap>
 #include <QtMqtt/QMqttClient>
 
+#include <QtQml/qqml.h>
+
 class QmlMqttClient : public QObject
 {
     Q_OBJECT
     Q_PROPERTY(QString hostname READ hostname WRITE setHostname NOTIFY 
hostnameChanged)
     Q_PROPERTY(int port READ port WRITE setPort NOTIFY portChanged)
     Q_PROPERTY(QMqttClient::ClientState state READ state WRITE setState NOTIFY 
stateChanged)
+    QML_NAMED_ELEMENT(MqttClient)
+    QML_EXTENDED_NAMESPACE(QMqttClient)
 public:
 
     QmlMqttClient(QObject *parent = nullptr);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/quickpublication.pro
 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/quickpublication.pro
--- 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quickpublication/quickpublication.pro
 2023-07-07 14:29:57.000000000 +0200
+++ 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quickpublication/quickpublication.pro
 2023-09-24 11:46:21.000000000 +0200
@@ -1,7 +1,8 @@
 TEMPLATE = app
+TARGET = quickpublication
 
 QT += qml quick mqtt
-CONFIG += c++11
+CONFIG += qmltypes
 
 SOURCES += main.cpp \
     qmlmqttclient.cpp
@@ -9,10 +10,15 @@
 HEADERS += \
     qmlmqttclient.h
 
-RESOURCES += qml.qrc
+qml_resources.files = Main.qml qmldir
+qml_resources.prefix = /qt/qml/publication
+
+RESOURCES += qml_resources
 
 # Additional import path used to resolve QML modules in Qt Creator's code model
-QML_IMPORT_PATH =
+QML_IMPORT_PATH = $$pwd/.
+QML_IMPORT_NAME = publication
+QML_IMPORT_MAJOR_VERSION = 1
 
 # Additional import path used to resolve QML modules just for Qt Quick Designer
 QML_DESIGNER_IMPORT_PATH =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quicksubscription/Main.qml 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quicksubscription/Main.qml
--- old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quicksubscription/Main.qml    
2023-07-07 14:29:57.000000000 +0200
+++ new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quicksubscription/Main.qml    
2023-09-24 11:46:21.000000000 +0200
@@ -74,8 +74,8 @@
                 if (client.state === MqttClient.Connected) {
                     client.disconnectFromHost()
                     messageModel.clear()
-                    tempSubscription.destroy()
-                    tempSubscription = 0
+                    root.tempSubscription.destroy()
+                    root.tempSubscription = 0
                 } else
                     client.connectToHost()
             }
@@ -94,13 +94,13 @@
                 id: subField
                 placeholderText: "<Subscription topic>"
                 Layout.fillWidth: true
-                enabled: tempSubscription === 0
+                enabled: root.tempSubscription === 0
             }
 
             Button {
                 id: subButton
                 text: "Subscribe"
-                visible: tempSubscription === 0
+                visible: root.tempSubscription === 0
                 onClicked: {
                     if (subField.text.length === 0) {
                         console.log("No topic specified to subscribe to.")
@@ -115,19 +115,22 @@
         ListView {
             id: messageView
             model: messageModel
-            height: 300
-            width: 200
+            implicitHeight: 300
+            implicitWidth: 200
             Layout.columnSpan: 2
             Layout.fillHeight: true
             Layout.fillWidth: true
             clip: true
             delegate: Rectangle {
-                width: messageView.width
+                id: delegatedRectangle
+                required property int index
+                required property string payload
+                width: ListView.view.width
                 height: 30
                 color: index % 2 ? "#DDDDDD" : "#888888"
                 radius: 5
                 Text {
-                    text: payload
+                    text: delegatedRectangle.payload
                     anchors.centerIn: parent
                 }
             }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quicksubscription/qmlmqttclient.cpp
 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quicksubscription/qmlmqttclient.cpp
--- 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quicksubscription/qmlmqttclient.cpp
   2023-07-07 14:29:57.000000000 +0200
+++ 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quicksubscription/qmlmqttclient.cpp
   2023-09-24 11:46:21.000000000 +0200
@@ -68,8 +68,6 @@
         return;
     }
     m_client.setPort(static_cast<quint16>(newPort));
-
-    m_client.state();
 }
 
 const QMqttClient::ClientState QmlMqttClient::state() const
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quicksubscription/qmlmqttclient.h 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quicksubscription/qmlmqttclient.h
--- 
old/qtmqtt-everywhere-src-6.5.2/examples/mqtt/quicksubscription/qmlmqttclient.h 
    2023-07-07 14:29:57.000000000 +0200
+++ 
new/qtmqtt-everywhere-src-6.5.3/examples/mqtt/quicksubscription/qmlmqttclient.h 
    2023-09-24 11:46:21.000000000 +0200
@@ -42,6 +42,7 @@
     Q_PROPERTY(int port READ port WRITE setPort NOTIFY portChanged)
     Q_PROPERTY(QMqttClient::ClientState state READ state WRITE setState NOTIFY 
stateChanged)
     QML_NAMED_ELEMENT(MqttClient)
+    QML_EXTENDED_NAMESPACE(QMqttClient)
 public:
 
     QmlMqttClient(QObject *parent = nullptr);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.5.2/src/mqtt/doc/src/overview.qdoc 
new/qtmqtt-everywhere-src-6.5.3/src/mqtt/doc/src/overview.qdoc
--- old/qtmqtt-everywhere-src-6.5.2/src/mqtt/doc/src/overview.qdoc      
2023-07-07 14:29:57.000000000 +0200
+++ new/qtmqtt-everywhere-src-6.5.3/src/mqtt/doc/src/overview.qdoc      
2023-09-24 11:46:21.000000000 +0200
@@ -6,6 +6,7 @@
     \page qtmqtt-overview.html
     \title Qt MQTT Overview
     \brief Provides insight into the MQTT protocol and the Qt MQTT module.
+    \ingroup explanation
 
     Qt MQTT enables you to create applications and devices that can communicate
     over the MQ telemetry transport (MQTT) protocol. It fully complies to the

Reply via email to