Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qt6-serialbus for openSUSE:Factory 
checked in at 2025-10-13 17:23:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-serialbus (Old)
 and      /work/SRC/openSUSE:Factory/.qt6-serialbus.new.18484 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qt6-serialbus"

Mon Oct 13 17:23:47 2025 rev:32 rq:1310364 version:6.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/qt6-serialbus/qt6-serialbus.changes      
2025-08-29 18:35:51.779749127 +0200
+++ /work/SRC/openSUSE:Factory/.qt6-serialbus.new.18484/qt6-serialbus.changes   
2025-10-13 17:27:00.190459700 +0200
@@ -1,0 +2,6 @@
+Tue Oct  7 08:53:29 UTC 2025 - Christophe Marin <[email protected]>
+
+- Update to 6.10.0
+  * https://www.qt.io/blog/qt-6.10-released
+
+-------------------------------------------------------------------

Old:
----
  qtserialbus-everywhere-src-6.9.2.tar.xz

New:
----
  qtserialbus-everywhere-src-6.10.0.tar.xz

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

Other differences:
------------------
++++++ qt6-serialbus.spec ++++++
--- /var/tmp/diff_new_pack.vDyfqH/_old  2025-10-13 17:27:01.610519082 +0200
+++ /var/tmp/diff_new_pack.vDyfqH/_new  2025-10-13 17:27:01.614519250 +0200
@@ -16,8 +16,8 @@
 #
 
 
-%define real_version 6.9.2
-%define short_version 6.9
+%define real_version 6.10.0
+%define short_version 6.10
 %define tar_name qtserialbus-everywhere-src
 %define tar_suffix %{nil}
 #
@@ -27,10 +27,10 @@
 %endif
 #
 Name:           qt6-serialbus
-Version:        6.9.2
+Version:        6.10.0
 Release:        0
 Summary:        Qt 6 SerialBus library
-License:        LGPL-3.0-only OR GPL-2.0-or-later
+License:        GPL-2.0-or-later OR LGPL-3.0-only
 URL:            https://www.qt.io
 Source0:        
https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz
 Source99:       qt6-serialbus-rpmlintrc
@@ -62,8 +62,8 @@
 
 %package devel
 Summary:        Qt 6 SerialBus library - Development files
-Requires:       qt6-serialbus = %{version}
 Requires:       libQt6SerialBus6 = %{version}
+Requires:       qt6-serialbus = %{version}
 Requires:       cmake(Qt6Network) = %{real_version}
 Requires:       cmake(Qt6SerialPort) = %{real_version}
 
@@ -124,7 +124,7 @@
 %{_qt6_includedir}/QtSerialBus/
 %{_qt6_libdir}/libQt6SerialBus.prl
 %{_qt6_libdir}/libQt6SerialBus.so
-%{_qt6_metatypesdir}/qt6serialbus_*_metatypes.json
+%{_qt6_metatypesdir}/qt6serialbus_metatypes.json
 %{_qt6_mkspecsdir}/modules/qt_lib_serialbus.pri
 %{_qt6_pkgconfigdir}/Qt6SerialBus.pc
 %exclude %{_qt6_includedir}/QtSerialBus/%{real_version}/

++++++ qtserialbus-everywhere-src-6.9.2.tar.xz -> 
qtserialbus-everywhere-src-6.10.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtserialbus-everywhere-src-6.9.2/.cmake.conf 
new/qtserialbus-everywhere-src-6.10.0/.cmake.conf
--- old/qtserialbus-everywhere-src-6.9.2/.cmake.conf    2025-08-17 
22:16:33.000000000 +0200
+++ new/qtserialbus-everywhere-src-6.10.0/.cmake.conf   2025-10-01 
21:33:29.000000000 +0200
@@ -1,4 +1,4 @@
-set(QT_REPO_MODULE_VERSION "6.9.2")
+set(QT_REPO_MODULE_VERSION "6.10.0")
 set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
 set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
 list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtserialbus-everywhere-src-6.9.2/.tag 
new/qtserialbus-everywhere-src-6.10.0/.tag
--- old/qtserialbus-everywhere-src-6.9.2/.tag   2025-08-17 22:16:33.000000000 
+0200
+++ new/qtserialbus-everywhere-src-6.10.0/.tag  2025-10-01 21:33:29.000000000 
+0200
@@ -1 +1 @@
-ce8e2a5e736e39f9c9ddbe0bc879a62d827a7c2f
+5b1a3e616a76d3bcd4da49aef09553b8e9c0eb40
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtserialbus-everywhere-src-6.9.2/dependencies.yaml 
new/qtserialbus-everywhere-src-6.10.0/dependencies.yaml
--- old/qtserialbus-everywhere-src-6.9.2/dependencies.yaml      2025-08-17 
22:16:33.000000000 +0200
+++ new/qtserialbus-everywhere-src-6.10.0/dependencies.yaml     2025-10-01 
21:33:29.000000000 +0200
@@ -1,7 +1,7 @@
 dependencies:
   ../qtbase:
-    ref: 6f0d27d2e4ba5fa6562f738aaaf8eaf98ebf51e7
+    ref: 5a8637e4516bc48a0b3f4b5ec3b18618b92e7222
     required: true
   ../qtserialport:
-    ref: 0065f193698e984f8ab319f780f318a01265a9f6
+    ref: 63c618b07d7a78905a48eaf685051898d932cb69
     required: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/plugins/canbus/peakcan/peakcanbackend.cpp
 
new/qtserialbus-everywhere-src-6.10.0/src/plugins/canbus/peakcan/peakcanbackend.cpp
--- 
old/qtserialbus-everywhere-src-6.9.2/src/plugins/canbus/peakcan/peakcanbackend.cpp
  2025-08-17 22:16:33.000000000 +0200
+++ 
new/qtserialbus-everywhere-src-6.10.0/src/plugins/canbus/peakcan/peakcanbackend.cpp
 2025-10-01 21:33:29.000000000 +0200
@@ -407,8 +407,8 @@
 
     if (Q_UNLIKELY(st != PCAN_ERROR_OK)) {
         const QString errorString = systemErrorString(st);
-        qCCritical(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot initialize hardware: 
%ls",
-                   qUtf16Printable(errorString));
+        qCCritical(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot initialize channel %u 
hardware: %ls",
+                   uint(channelIndex), qUtf16Printable(errorString));
         q->setError(errorString, QCanBusDevice::ConnectionError);
         return false;
     }
@@ -418,8 +418,8 @@
         readHandle = ::CreateEvent(nullptr, FALSE, FALSE, nullptr);
         if (Q_UNLIKELY(!readHandle)) {
             const QString errorString = qt_error_string(int(::GetLastError()));
-            qCCritical(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot create receive event 
handler: %ls",
-                       qUtf16Printable(errorString));
+            qCCritical(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot create channel %u 
receive event handler: %ls",
+                       uint(channelIndex), qUtf16Printable(errorString));
             q->setError(errorString, QCanBusDevice::ConnectionError);
             return false;
         }
@@ -427,7 +427,10 @@
 
     const TPCANStatus err = ::CAN_SetValue(channelIndex, PCAN_RECEIVE_EVENT, 
&readHandle, sizeof(readHandle));
     if (Q_UNLIKELY(err != PCAN_ERROR_OK)) {
-        q->setError(systemErrorString(err), QCanBusDevice::ConnectionError);
+        const QString errorString = systemErrorString(err);
+        qCCritical(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot register channel %u 
receive event handler: %ls",
+                   uint(channelIndex), qUtf16Printable(errorString));
+        q->setError(errorString, QCanBusDevice::ConnectionError);
         return false;
     }
 
@@ -435,8 +438,8 @@
     const TPCANStatus err = ::CAN_GetValue(channelIndex, PCAN_RECEIVE_EVENT, 
&readHandle, sizeof(readHandle));
     if (Q_UNLIKELY(err != PCAN_ERROR_OK)) {
         const QString errorString = systemErrorString(err);
-        qCCritical(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot create receive event 
handler: %ls",
-                   qUtf16Printable(errorString));
+        qCCritical(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot create channel %u 
receive event handler: %ls",
+                   uint(channelIndex), qUtf16Printable(errorString));
         q->setError(errorString, QCanBusDevice::ConnectionError);
         return false;
     }
@@ -472,8 +475,12 @@
     }
 
     const TPCANStatus st = ::CAN_Uninitialize(channelIndex);
-    if (Q_UNLIKELY(st != PCAN_ERROR_OK))
-        q->setError(systemErrorString(st), QCanBusDevice::ConnectionError);
+    if (Q_UNLIKELY(st != PCAN_ERROR_OK)) {
+        const QString errorString = systemErrorString(st);
+        qCCritical(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot uninitialize channel %u: 
%ls",
+                   uint(channelIndex), qUtf16Printable(errorString));
+        q->setError(errorString, QCanBusDevice::ConnectionError);
+    }
 
 #if defined(Q_OS_WIN32)
     if (readHandle && (readHandle != INVALID_HANDLE_VALUE)) {
@@ -695,8 +702,12 @@
 
             const TPCANStatus st = ::CAN_ReadFD(channelIndex, &message, 
&timestamp);
             if (st != PCAN_ERROR_OK) {
-                if (Q_UNLIKELY(st != PCAN_ERROR_QRCVEMPTY))
-                    q->setError(systemErrorString(st), 
QCanBusDevice::ReadError);
+                if (Q_UNLIKELY(st != PCAN_ERROR_QRCVEMPTY)) {
+                    const QString errorString = systemErrorString(st);
+                    qCWarning(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot read frame: 
%ls",
+                              qUtf16Printable(errorString));
+                    q->setError(errorString, QCanBusDevice::ReadError);
+                }
                 break;
             }
 
@@ -722,8 +733,12 @@
 
             const TPCANStatus st = ::CAN_Read(channelIndex, &message, 
&timestamp);
             if (st != PCAN_ERROR_OK) {
-                if (Q_UNLIKELY(st != PCAN_ERROR_QRCVEMPTY))
-                    q->setError(systemErrorString(st), 
QCanBusDevice::ReadError);
+                if (Q_UNLIKELY(st != PCAN_ERROR_QRCVEMPTY)) {
+                    const QString errorString = systemErrorString(st);
+                    qCWarning(QT_CANBUS_PLUGINS_PEAKCAN, "Cannot read frame: 
%ls",
+                              qUtf16Printable(errorString));
+                    q->setError(errorString, QCanBusDevice::ReadError);
+                }
                 break;
             }
 
@@ -846,14 +861,17 @@
         return false;
 
     if (Q_UNLIKELY(!newData.isValid())) {
-        setError(tr("Cannot write invalid QCanBusFrame"), 
QCanBusDevice::WriteError);
+        const QString errorString = tr("Cannot write invalid QCanBusFrame");
+        qCWarning(QT_CANBUS_PLUGINS_PEAKCAN, "%ls", 
qUtf16Printable(errorString));
+        setError(errorString, QCanBusDevice::WriteError);
         return false;
     }
 
     if (Q_UNLIKELY(newData.frameType() != QCanBusFrame::DataFrame
                    && newData.frameType() != 
QCanBusFrame::RemoteRequestFrame)) {
-        setError(tr("Unable to write a frame with unacceptable type"),
-                 QCanBusDevice::WriteError);
+        const QString errorString = tr("Cannot write QCanBusFrame with type 
%1").arg(newData.frameType());
+        qCWarning(QT_CANBUS_PLUGINS_PEAKCAN, "%ls", 
qUtf16Printable(errorString));
+        setError(errorString, QCanBusDevice::WriteError);
         return false;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/plugins/canbus/socketcan/socketcanbackend.cpp
 
new/qtserialbus-everywhere-src-6.10.0/src/plugins/canbus/socketcan/socketcanbackend.cpp
--- 
old/qtserialbus-everywhere-src-6.9.2/src/plugins/canbus/socketcan/socketcanbackend.cpp
      2025-08-17 22:16:33.000000000 +0200
+++ 
new/qtserialbus-everywhere-src-6.10.0/src/plugins/canbus/socketcan/socketcanbackend.cpp
     2025-10-01 21:33:29.000000000 +0200
@@ -170,7 +170,7 @@
     QCanBusDevice::setConfigurationParameter(
                 QCanBusDevice::CanFdKey, false);
     QCanBusDevice::setConfigurationParameter(
-                QCanBusDevice::BitRateKey, 500000);
+                QCanBusDevice::BitRateKey, QVariant());
 }
 
 bool SocketCanBackend::open()
@@ -318,8 +318,10 @@
     }
     case QCanBusDevice::BitRateKey:
     {
-        const quint32 bitRate = value.toUInt();
-        success = libSocketCan->setBitrate(canSocketName, bitRate);
+        if (!value.isNull()) {
+            const quint32 bitRate = value.toUInt();
+            success = libSocketCan->setBitrate(canSocketName, bitRate);
+        }
         break;
     }
     default:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/plugins/canbus/virtualcan/virtualcanbackend.cpp
 
new/qtserialbus-everywhere-src-6.10.0/src/plugins/canbus/virtualcan/virtualcanbackend.cpp
--- 
old/qtserialbus-everywhere-src-6.9.2/src/plugins/canbus/virtualcan/virtualcanbackend.cpp
    2025-08-17 22:16:33.000000000 +0200
+++ 
new/qtserialbus-everywhere-src-6.10.0/src/plugins/canbus/virtualcan/virtualcanbackend.cpp
   2025-10-01 21:33:29.000000000 +0200
@@ -21,7 +21,7 @@
 
 enum {
     ServerDefaultTcpPort = 35468,
-    VirtualChannels = 2
+    VirtualChannels = 10
 };
 
 static const char RemoteRequestFlag    = 'R';
@@ -219,8 +219,8 @@
     Format:  "<CAN-Channel>:<Flags>#<CAN-ID>#<Data-Bytes>\n"
     Example: "can0:XF#123#123456\n"
 
-    The first part is the destination CAN channel, "can0" or "can1",
-    followed by the flags list:
+    The first part is the destination CAN channel, "can0", "can1",
+    up to "can9", followed by the flags list:
 
     * R - Remote Request
     * X - Extended Frame Format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/serialbus/doc/qtserialbus.qdocconf 
new/qtserialbus-everywhere-src-6.10.0/src/serialbus/doc/qtserialbus.qdocconf
--- old/qtserialbus-everywhere-src-6.9.2/src/serialbus/doc/qtserialbus.qdocconf 
2025-08-17 22:16:33.000000000 +0200
+++ 
new/qtserialbus-everywhere-src-6.10.0/src/serialbus/doc/qtserialbus.qdocconf    
    2025-10-01 21:33:29.000000000 +0200
@@ -7,6 +7,9 @@
 
 examplesinstallpath     = serialbus
 
+# Path to the root of qtserialbus (for automatic linking to source code)
+url.sources.rootdir     = ../../..
+
 qhp.projects            = QtSerialBus
 
 qhp.QtSerialBus.file         = qtserialbus.qhp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/serialbus/doc/src/virtualcan.qdoc 
new/qtserialbus-everywhere-src-6.10.0/src/serialbus/doc/src/virtualcan.qdoc
--- old/qtserialbus-everywhere-src-6.9.2/src/serialbus/doc/src/virtualcan.qdoc  
2025-08-17 22:16:33.000000000 +0200
+++ new/qtserialbus-everywhere-src-6.10.0/src/serialbus/doc/src/virtualcan.qdoc 
2025-10-01 21:33:29.000000000 +0200
@@ -37,7 +37,7 @@
     \endcode
 
     Where \e can0 is the active CAN channel name. The VirtualCAN plugin
-    provides two channels "can0" and "can1". Both can be used as CAN 2.0
+    provides ten channels from "can0" to "can9". All can be used as CAN 2.0
     or CAN FD channels. All applications connected to one of these channels
     receive all messages that are sent to this channel.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/serialbus/qcanbusdeviceinfo.cpp 
new/qtserialbus-everywhere-src-6.10.0/src/serialbus/qcanbusdeviceinfo.cpp
--- old/qtserialbus-everywhere-src-6.9.2/src/serialbus/qcanbusdeviceinfo.cpp    
2025-08-17 22:16:33.000000000 +0200
+++ new/qtserialbus-everywhere-src-6.10.0/src/serialbus/qcanbusdeviceinfo.cpp   
2025-10-01 21:33:29.000000000 +0200
@@ -6,6 +6,8 @@
 
 QT_BEGIN_NAMESPACE
 
+QT_DEFINE_QSDP_SPECIALIZATION_DTOR(QCanBusDeviceInfoPrivate)
+
 /*!
     \class QCanBusDeviceInfo
     \inmodule QtSerialBus
@@ -23,6 +25,13 @@
 QCanBusDeviceInfo::QCanBusDeviceInfo(const QCanBusDeviceInfo &) = default;
 
 /*!
+    \fn QCanBusDeviceInfo::QCanBusDeviceInfo(QCanBusDeviceInfo &&other)
+
+    Move-constructs a CAN bus device info from \a other.
+    \since 6.10
+*/
+
+/*!
     Constructs a CAN bus device info from QCanBusDeviceInfoPrivate \a dd.
     \internal
 */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/serialbus/qcanbusdeviceinfo.h 
new/qtserialbus-everywhere-src-6.10.0/src/serialbus/qcanbusdeviceinfo.h
--- old/qtserialbus-everywhere-src-6.9.2/src/serialbus/qcanbusdeviceinfo.h      
2025-08-17 22:16:33.000000000 +0200
+++ new/qtserialbus-everywhere-src-6.10.0/src/serialbus/qcanbusdeviceinfo.h     
2025-10-01 21:33:29.000000000 +0200
@@ -12,11 +12,14 @@
 
 class QCanBusDeviceInfoPrivate;
 
+QT_DECLARE_QSDP_SPECIALIZATION_DTOR(QCanBusDeviceInfoPrivate)
+
 class Q_SERIALBUS_EXPORT QCanBusDeviceInfo
 {
 public:
     QCanBusDeviceInfo() = delete;
     QCanBusDeviceInfo(const QCanBusDeviceInfo &other);
+    QCanBusDeviceInfo(QCanBusDeviceInfo &&other) noexcept = default;
     ~QCanBusDeviceInfo();
 
     void swap(QCanBusDeviceInfo &other) noexcept
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/serialbus/qcanbusframe.h 
new/qtserialbus-everywhere-src-6.10.0/src/serialbus/qcanbusframe.h
--- old/qtserialbus-everywhere-src-6.9.2/src/serialbus/qcanbusframe.h   
2025-08-17 22:16:33.000000000 +0200
+++ new/qtserialbus-everywhere-src-6.10.0/src/serialbus/qcanbusframe.h  
2025-10-01 21:33:29.000000000 +0200
@@ -14,6 +14,8 @@
 
 class Q_SERIALBUS_EXPORT QCanBusFrame
 {
+    Q_GADGET
+
 public:
     using FrameId = quint32;
 
@@ -40,6 +42,7 @@
         RemoteRequestFrame  = 0x3,
         InvalidFrame        = 0x4
     };
+    Q_ENUM(FrameType)
 
     explicit QCanBusFrame(FrameType type = DataFrame) noexcept :
         isExtendedFrame(0x0),
@@ -73,6 +76,7 @@
     };
     Q_DECLARE_FLAGS(FrameErrors, FrameError)
     Q_FLAGS(FrameErrors)
+    Q_ENUM(FrameError)
 
     explicit QCanBusFrame(QCanBusFrame::FrameId identifier, const QByteArray 
&data) :
         format(DataFrame),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtserialbus-everywhere-src-6.9.2/src/serialbus/qmodbusdevice.cpp 
new/qtserialbus-everywhere-src-6.10.0/src/serialbus/qmodbusdevice.cpp
--- old/qtserialbus-everywhere-src-6.9.2/src/serialbus/qmodbusdevice.cpp        
2025-08-17 22:16:33.000000000 +0200
+++ new/qtserialbus-everywhere-src-6.10.0/src/serialbus/qmodbusdevice.cpp       
2025-10-01 21:33:29.000000000 +0200
@@ -257,7 +257,7 @@
 */
 void QModbusDevice::disconnectDevice()
 {
-    if (state() == QModbusDevice::UnconnectedState)
+    if (auto s = state(); s == QModbusDevice::UnconnectedState || s == 
QModbusDevice::ClosingState)
         return;
 
     setState(QModbusDevice::ClosingState);

Reply via email to