Skip to content

Commit

Permalink
New upstream release (6.8.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
lichenggang authored and Zeno-sole committed Nov 22, 2024
1 parent 00abb36 commit ebb37ba
Show file tree
Hide file tree
Showing 31 changed files with 521 additions and 2,242 deletions.
2,353 changes: 262 additions & 2,091 deletions .QT-ENTERPRISE-LICENSE-AGREEMENT

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .cmake.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set(QT_REPO_MODULE_VERSION "6.6.1")
set(QT_REPO_MODULE_VERSION "6.8.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")
list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_CONTEXTLESS_CONNECT=1")
2 changes: 1 addition & 1 deletion .tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
be2bad10749bfc31b29d711f59e020c7e86fdc94
fc0a965d5bada8296595fcefacebc235dccf1a75
25 changes: 3 additions & 22 deletions coin/axivion/ci_config_linux.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"Project": {
"Git": {
"_active": true,
"sourceserver_gitdir": "/data/axivion/databases/$(env:TESTED_MODULE_COIN).git"
},
"BuildSystemIntegration": {
"child_order": [
"GCCSetup",
Expand Down Expand Up @@ -31,29 +27,14 @@
"build/lib/lib*.so*.ir"
],
"ir": "build/$(env:TESTED_MODULE_COIN).ir"
},
"Project-GlobalOptions": {
"directory": "../work/qt/$(env:TESTED_MODULE_COIN)",
"ir": "build/$(env:TESTED_MODULE_COIN).ir",
"name": "qt_$(env:TESTED_MODULE_COIN)_dev_$(env:TARGET_OS_COIN)"
}
},
"Results": {
"Dashboard": {
"dashboard_url": "https://axivion-srv.ci.qt.io/axivion/"
},
"Database": {
"ci_mode": {
"directory": "/data/axivion/databases"
}
}
},
"_Format": "1.0",
"_Version": "trunk-9e0ef9c5818",
"_Version": "7.6.2",
"_VersionNum": [
7,
6,
9999,
11489
2,
12725
]
}
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
qt6-serialport (6.8.0-0deepin) unstable; urgency=medium

* New upstream release (6.8.0).

-- lichenggang <[email protected]> Sat, 26 Oct 2024 23:43:44 +0800

qt6-serialport (6.6.1-1) experimental; urgency=medium

[ Patrick Franz ]
Expand Down
8 changes: 4 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Build-Depends: cmake (>= 3.24~),
ninja-build,
pkg-config,
pkg-kde-tools,
qt6-base-dev (>= 6.6.1+dfsg~),
qt6-base-private-dev (>= 6.6.1+dfsg~),
Build-Depends-Indep: qt6-base-dev (>= 6.6~) <!nodoc>,
qt6-documentation-tools (>= 6.6~) <!nodoc>,
qt6-base-dev (>= 6.8.0+dfsg~),
qt6-base-private-dev (>= 6.8.0+dfsg~),
Build-Depends-Indep: qt6-base-dev (>= 6.8~) <!nodoc>,
qt6-documentation-tools (>= 6.8~) <!nodoc>,
Standards-Version: 4.6.2
Homepage: https://www.qt.io/developers/
Vcs-Browser: https://salsa.debian.org/qt-kde-team/qt6/qt6-serialport
Expand Down
194 changes: 97 additions & 97 deletions debian/libqt6serialport6.symbols
Original file line number Diff line number Diff line change
@@ -1,99 +1,99 @@
# SymbolsHelper-Confirmed: 6.6.0 amd64
# SymbolsHelper-Confirmed: 6.8.0 amd64
libQt6SerialPort.so.6 libqt6serialport6 #MINVER#
* Build-Depends-Package: qt6-serialport-dev
Qt_6@Qt_6 6.6.0
Qt_6_PRIVATE_API@Qt_6_PRIVATE_API 6.6.0
_ZN11QSerialPort10clearErrorEv@Qt_6 6.6.0
_ZN11QSerialPort11qt_metacallEN11QMetaObject4CallEiPPv@Qt_6 6.6.0
_ZN11QSerialPort11qt_metacastEPKc@Qt_6 6.6.0
_ZN11QSerialPort11setBaudRateEi6QFlagsINS_9DirectionEE@Qt_6 6.6.0
_ZN11QSerialPort11setDataBitsENS_8DataBitsE@Qt_6 6.6.0
_ZN11QSerialPort11setPortNameERK7QString@Qt_6 6.6.0
_ZN11QSerialPort11setStopBitsENS_8StopBitsE@Qt_6 6.6.0
_ZN11QSerialPort12readLineDataEPcx@Qt_6 6.6.0
_ZN11QSerialPort13errorOccurredENS_15SerialPortErrorE@Qt_6 6.6.0
_ZN11QSerialPort13parityChangedENS_6ParityE@Qt_6 6.6.0
_ZN11QSerialPort13pinoutSignalsEv@Qt_6 6.6.0
_ZN11QSerialPort14bindableParityEv@Qt_6 6.6.0
_ZN11QSerialPort14setFlowControlENS_11FlowControlE@Qt_6 6.6.0
_ZN11QSerialPort15baudRateChangedEi6QFlagsINS_9DirectionEE@Qt_6 6.6.0
_ZN11QSerialPort15dataBitsChangedENS_8DataBitsE@Qt_6 6.6.0
_ZN11QSerialPort15isRequestToSendEv@Qt_6 6.6.0
_ZN11QSerialPort15setBreakEnabledEb@Qt_6 6.6.0
_ZN11QSerialPort15stopBitsChangedENS_8StopBitsE@Qt_6 6.6.0
_ZN11QSerialPort16bindableDataBitsEv@Qt_6 6.6.0
_ZN11QSerialPort16bindableStopBitsEv@Qt_6 6.6.0
_ZN11QSerialPort16setRequestToSendEb@Qt_6 6.6.0
_ZN11QSerialPort16staticMetaObjectE@Qt_6 6.6.0
_ZN11QSerialPort16waitForReadyReadEi@Qt_6 6.6.0
_ZN11QSerialPort17setReadBufferSizeEx@Qt_6 6.6.0
_ZN11QSerialPort18flowControlChangedENS_11FlowControlE@Qt_6 6.6.0
_ZN11QSerialPort19bindableFlowControlEv@Qt_6 6.6.0
_ZN11QSerialPort19breakEnabledChangedEb@Qt_6 6.6.0
_ZN11QSerialPort19isDataTerminalReadyEv@Qt_6 6.6.0
_ZN11QSerialPort19waitForBytesWrittenEi@Qt_6 6.6.0
_ZN11QSerialPort20requestToSendChangedEb@Qt_6 6.6.0
_ZN11QSerialPort20setDataTerminalReadyEb@Qt_6 6.6.0
_ZN11QSerialPort22bindableIsBreakEnabledEv@Qt_6 6.6.0
_ZN11QSerialPort24dataTerminalReadyChangedEb@Qt_6 6.6.0
_ZN11QSerialPort4openE6QFlagsIN13QIODeviceBase12OpenModeFlagEE@Qt_6 6.6.0
_ZN11QSerialPort5clearE6QFlagsINS_9DirectionEE@Qt_6 6.6.0
_ZN11QSerialPort5closeEv@Qt_6 6.6.0
_ZN11QSerialPort5flushEv@Qt_6 6.6.0
_ZN11QSerialPort7setPortERK15QSerialPortInfo@Qt_6 6.6.0
_ZN11QSerialPort8readDataEPcx@Qt_6 6.6.0
_ZN11QSerialPort9setParityENS_6ParityE@Qt_6 6.6.0
_ZN11QSerialPort9writeDataEPKcx@Qt_6 6.6.0
_ZN11QSerialPortC1EP7QObject@Qt_6 6.6.0
_ZN11QSerialPortC1ERK15QSerialPortInfoP7QObject@Qt_6 6.6.0
_ZN11QSerialPortC1ERK7QStringP7QObject@Qt_6 6.6.0
_ZN11QSerialPortC2EP7QObject@Qt_6 6.6.0
_ZN11QSerialPortC2ERK15QSerialPortInfoP7QObject@Qt_6 6.6.0
_ZN11QSerialPortC2ERK7QStringP7QObject@Qt_6 6.6.0
_ZN11QSerialPortD0Ev@Qt_6 6.6.0
_ZN11QSerialPortD1Ev@Qt_6 6.6.0
_ZN11QSerialPortD2Ev@Qt_6 6.6.0
_ZN15QSerialPortInfo14availablePortsEv@Qt_6 6.6.0
_ZN15QSerialPortInfo17standardBaudRatesEv@Qt_6 6.6.0
_ZN15QSerialPortInfo4swapERS_@Qt_6 6.6.0
_ZN15QSerialPortInfoC1ERK11QSerialPort@Qt_6 6.6.0
_ZN15QSerialPortInfoC1ERK22QSerialPortInfoPrivate@Qt_6_PRIVATE_API 6.6.0
_ZN15QSerialPortInfoC1ERK7QString@Qt_6 6.6.0
_ZN15QSerialPortInfoC1ERKS_@Qt_6 6.6.0
_ZN15QSerialPortInfoC1Ev@Qt_6 6.6.0
_ZN15QSerialPortInfoC2ERK11QSerialPort@Qt_6 6.6.0
_ZN15QSerialPortInfoC2ERK22QSerialPortInfoPrivate@Qt_6_PRIVATE_API 6.6.0
_ZN15QSerialPortInfoC2ERK7QString@Qt_6 6.6.0
_ZN15QSerialPortInfoC2ERKS_@Qt_6 6.6.0
_ZN15QSerialPortInfoC2Ev@Qt_6 6.6.0
_ZN15QSerialPortInfoD1Ev@Qt_6 6.6.0
_ZN15QSerialPortInfoD2Ev@Qt_6 6.6.0
_ZN15QSerialPortInfoaSERKS_@Qt_6 6.6.0
_ZNK11QSerialPort10metaObjectEv@Qt_6 6.6.0
_ZNK11QSerialPort11canReadLineEv@Qt_6 6.6.0
_ZNK11QSerialPort11flowControlEv@Qt_6 6.6.0
_ZNK11QSerialPort12bytesToWriteEv@Qt_6 6.6.0
_ZNK11QSerialPort12isSequentialEv@Qt_6 6.6.0
_ZNK11QSerialPort13bindableErrorEv@Qt_6 6.6.0
_ZNK11QSerialPort14bytesAvailableEv@Qt_6 6.6.0
_ZNK11QSerialPort14isBreakEnabledEv@Qt_6 6.6.0
_ZNK11QSerialPort14readBufferSizeEv@Qt_6 6.6.0
_ZNK11QSerialPort5errorEv@Qt_6 6.6.0
_ZNK11QSerialPort6handleEv@Qt_6 6.6.0
_ZNK11QSerialPort6parityEv@Qt_6 6.6.0
_ZNK11QSerialPort8baudRateE6QFlagsINS_9DirectionEE@Qt_6 6.6.0
_ZNK11QSerialPort8dataBitsEv@Qt_6 6.6.0
_ZNK11QSerialPort8portNameEv@Qt_6 6.6.0
_ZNK11QSerialPort8stopBitsEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo11descriptionEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo12manufacturerEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo12serialNumberEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo14systemLocationEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo16vendorIdentifierEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo17productIdentifierEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo19hasVendorIdentifierEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo20hasProductIdentifierEv@Qt_6 6.6.0
_ZNK15QSerialPortInfo8portNameEv@Qt_6 6.6.0
_ZTI11QSerialPort@Qt_6 6.6.0
_ZTS11QSerialPort@Qt_6 6.6.0
_ZTV11QSerialPort@Qt_6 6.6.0
Qt_6@Qt_6 6.8.0
Qt_6_PRIVATE_API@Qt_6_PRIVATE_API 6.8.0
_ZN11QSerialPort10clearErrorEv@Qt_6 6.8.0
_ZN11QSerialPort11qt_metacallEN11QMetaObject4CallEiPPv@Qt_6 6.8.0
_ZN11QSerialPort11qt_metacastEPKc@Qt_6 6.8.0
_ZN11QSerialPort11setBaudRateEi6QFlagsINS_9DirectionEE@Qt_6 6.8.0
_ZN11QSerialPort11setDataBitsENS_8DataBitsE@Qt_6 6.8.0
_ZN11QSerialPort11setPortNameERK7QString@Qt_6 6.8.0
_ZN11QSerialPort11setStopBitsENS_8StopBitsE@Qt_6 6.8.0
_ZN11QSerialPort12readLineDataEPcx@Qt_6 6.8.0
_ZN11QSerialPort13errorOccurredENS_15SerialPortErrorE@Qt_6 6.8.0
_ZN11QSerialPort13parityChangedENS_6ParityE@Qt_6 6.8.0
_ZN11QSerialPort13pinoutSignalsEv@Qt_6 6.8.0
_ZN11QSerialPort14bindableParityEv@Qt_6 6.8.0
_ZN11QSerialPort14setFlowControlENS_11FlowControlE@Qt_6 6.8.0
_ZN11QSerialPort15baudRateChangedEi6QFlagsINS_9DirectionEE@Qt_6 6.8.0
_ZN11QSerialPort15dataBitsChangedENS_8DataBitsE@Qt_6 6.8.0
_ZN11QSerialPort15isRequestToSendEv@Qt_6 6.8.0
_ZN11QSerialPort15setBreakEnabledEb@Qt_6 6.8.0
_ZN11QSerialPort15stopBitsChangedENS_8StopBitsE@Qt_6 6.8.0
_ZN11QSerialPort16bindableDataBitsEv@Qt_6 6.8.0
_ZN11QSerialPort16bindableStopBitsEv@Qt_6 6.8.0
_ZN11QSerialPort16setRequestToSendEb@Qt_6 6.8.0
_ZN11QSerialPort16staticMetaObjectE@Qt_6 6.8.0
_ZN11QSerialPort16waitForReadyReadEi@Qt_6 6.8.0
_ZN11QSerialPort17setReadBufferSizeEx@Qt_6 6.8.0
_ZN11QSerialPort18flowControlChangedENS_11FlowControlE@Qt_6 6.8.0
_ZN11QSerialPort19bindableFlowControlEv@Qt_6 6.8.0
_ZN11QSerialPort19breakEnabledChangedEb@Qt_6 6.8.0
_ZN11QSerialPort19isDataTerminalReadyEv@Qt_6 6.8.0
_ZN11QSerialPort19waitForBytesWrittenEi@Qt_6 6.8.0
_ZN11QSerialPort20requestToSendChangedEb@Qt_6 6.8.0
_ZN11QSerialPort20setDataTerminalReadyEb@Qt_6 6.8.0
_ZN11QSerialPort22bindableIsBreakEnabledEv@Qt_6 6.8.0
_ZN11QSerialPort24dataTerminalReadyChangedEb@Qt_6 6.8.0
_ZN11QSerialPort4openE6QFlagsIN13QIODeviceBase12OpenModeFlagEE@Qt_6 6.8.0
_ZN11QSerialPort5clearE6QFlagsINS_9DirectionEE@Qt_6 6.8.0
_ZN11QSerialPort5closeEv@Qt_6 6.8.0
_ZN11QSerialPort5flushEv@Qt_6 6.8.0
_ZN11QSerialPort7setPortERK15QSerialPortInfo@Qt_6 6.8.0
_ZN11QSerialPort8readDataEPcx@Qt_6 6.8.0
_ZN11QSerialPort9setParityENS_6ParityE@Qt_6 6.8.0
_ZN11QSerialPort9writeDataEPKcx@Qt_6 6.8.0
_ZN11QSerialPortC1EP7QObject@Qt_6 6.8.0
_ZN11QSerialPortC1ERK15QSerialPortInfoP7QObject@Qt_6 6.8.0
_ZN11QSerialPortC1ERK7QStringP7QObject@Qt_6 6.8.0
_ZN11QSerialPortC2EP7QObject@Qt_6 6.8.0
_ZN11QSerialPortC2ERK15QSerialPortInfoP7QObject@Qt_6 6.8.0
_ZN11QSerialPortC2ERK7QStringP7QObject@Qt_6 6.8.0
_ZN11QSerialPortD0Ev@Qt_6 6.8.0
_ZN11QSerialPortD1Ev@Qt_6 6.8.0
_ZN11QSerialPortD2Ev@Qt_6 6.8.0
_ZN15QSerialPortInfo14availablePortsEv@Qt_6 6.8.0
_ZN15QSerialPortInfo17standardBaudRatesEv@Qt_6 6.8.0
_ZN15QSerialPortInfo4swapERS_@Qt_6 6.8.0
_ZN15QSerialPortInfoC1ERK11QSerialPort@Qt_6 6.8.0
_ZN15QSerialPortInfoC1ERK22QSerialPortInfoPrivate@Qt_6_PRIVATE_API 6.8.0
_ZN15QSerialPortInfoC1ERK7QString@Qt_6 6.8.0
_ZN15QSerialPortInfoC1ERKS_@Qt_6 6.8.0
_ZN15QSerialPortInfoC1Ev@Qt_6 6.8.0
_ZN15QSerialPortInfoC2ERK11QSerialPort@Qt_6 6.8.0
_ZN15QSerialPortInfoC2ERK22QSerialPortInfoPrivate@Qt_6_PRIVATE_API 6.8.0
_ZN15QSerialPortInfoC2ERK7QString@Qt_6 6.8.0
_ZN15QSerialPortInfoC2ERKS_@Qt_6 6.8.0
_ZN15QSerialPortInfoC2Ev@Qt_6 6.8.0
_ZN15QSerialPortInfoD1Ev@Qt_6 6.8.0
_ZN15QSerialPortInfoD2Ev@Qt_6 6.8.0
_ZN15QSerialPortInfoaSERKS_@Qt_6 6.8.0
_ZNK11QSerialPort10metaObjectEv@Qt_6 6.8.0
_ZNK11QSerialPort11canReadLineEv@Qt_6 6.8.0
_ZNK11QSerialPort11flowControlEv@Qt_6 6.8.0
_ZNK11QSerialPort12bytesToWriteEv@Qt_6 6.8.0
_ZNK11QSerialPort12isSequentialEv@Qt_6 6.8.0
_ZNK11QSerialPort13bindableErrorEv@Qt_6 6.8.0
_ZNK11QSerialPort14bytesAvailableEv@Qt_6 6.8.0
_ZNK11QSerialPort14isBreakEnabledEv@Qt_6 6.8.0
_ZNK11QSerialPort14readBufferSizeEv@Qt_6 6.8.0
_ZNK11QSerialPort5errorEv@Qt_6 6.8.0
_ZNK11QSerialPort6handleEv@Qt_6 6.8.0
_ZNK11QSerialPort6parityEv@Qt_6 6.8.0
_ZNK11QSerialPort8baudRateE6QFlagsINS_9DirectionEE@Qt_6 6.8.0
_ZNK11QSerialPort8dataBitsEv@Qt_6 6.8.0
_ZNK11QSerialPort8portNameEv@Qt_6 6.8.0
_ZNK11QSerialPort8stopBitsEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo11descriptionEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo12manufacturerEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo12serialNumberEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo14systemLocationEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo16vendorIdentifierEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo17productIdentifierEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo19hasVendorIdentifierEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo20hasProductIdentifierEv@Qt_6 6.8.0
_ZNK15QSerialPortInfo8portNameEv@Qt_6 6.8.0
_ZTI11QSerialPort@Qt_6 6.8.0
_ZTS11QSerialPort@Qt_6 6.8.0
_ZTV11QSerialPort@Qt_6 6.8.0
1 change: 1 addition & 0 deletions debian/qt6-serialport-dev.install
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6SerialPort/Qt6SerialPortDependencies.cmak
usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6SerialPort/Qt6SerialPortTargets-none.cmake
usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6SerialPort/Qt6SerialPortTargets.cmake
usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6SerialPort/Qt6SerialPortVersionlessTargets.cmake
usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6SerialPort/*.cmake
usr/lib/${DEB_HOST_MULTIARCH}/libQt6SerialPort.prl
usr/lib/${DEB_HOST_MULTIARCH}/libQt6SerialPort.so
usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/Qt6SerialPort.pc
Expand Down
1 change: 0 additions & 1 deletion debian/qt6-serialport-doc-html.install
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ usr/share/qt6/doc/qtserialport/examples-manifest.xml
usr/share/qt6/doc/qtserialport/images
usr/share/qt6/doc/qtserialport/qtserialport.index
usr/share/qt6/doc/qtserialport/qtserialport.qhp
usr/share/qt6/doc/qtserialport/qtserialport.qhp.sha1
usr/share/qt6/doc/qtserialport/style
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dependencies:
../qtbase:
ref: e2cbce919ccefcae2b18f90257d67bc6e24c3c94
ref: b839e9b36db3a4e50dfb34521d8ef8de1fd01969
required: true
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

qt_examples_build_begin(EXTERNAL_BUILD)

Expand Down
2 changes: 1 addition & 1 deletion examples/serialport/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

if(TARGET Qt::Widgets)
qt_internal_add_example(terminal)
Expand Down
2 changes: 1 addition & 1 deletion examples/serialport/blockingreceiver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

cmake_minimum_required(VERSION 3.16)
project(blockingreceiver LANGUAGES CXX)
Expand Down
5 changes: 4 additions & 1 deletion examples/serialport/blockingreceiver/receiverthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ void ReceiverThread::run()

while (!m_quit) {
//![6] //! [7]
if (currentPortNameChanged) {
if (currentPortName.isEmpty()) {
emit error(tr("Port not set"));
return;
} else if (currentPortNameChanged) {
serial.close();
serial.setPortName(currentPortName);

Expand Down
2 changes: 1 addition & 1 deletion examples/serialport/blockingsender/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

cmake_minimum_required(VERSION 3.16)
project(blockingsender LANGUAGES CXX)
Expand Down
2 changes: 1 addition & 1 deletion examples/serialport/terminal/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

cmake_minimum_required(VERSION 3.16)
project(terminal LANGUAGES CXX)
Expand Down
Loading

0 comments on commit ebb37ba

Please sign in to comment.