diff options
Diffstat (limited to 'src/serialport/removed_api.cpp')
-rw-r--r-- | src/serialport/removed_api.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/serialport/removed_api.cpp b/src/serialport/removed_api.cpp new file mode 100644 index 00000000..1d9fe2f7 --- /dev/null +++ b/src/serialport/removed_api.cpp @@ -0,0 +1,20 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +#define QT_SERIALPORT_BUILD_REMOVED_API + +#include "qserialportglobal.h" + +QT_USE_NAMESPACE + +#if QT_SERIALPORT_REMOVED_SINCE(6, 7) + +#include "qserialport.h" +#include "qserialport_p.h" + +QBindable<bool> QSerialPort::bindableStopBits() +{ + return &d_func()->stopBits; +} + +#endif // QT_SERIALPORT_REMOVED_SINCE(6, 7) |