Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84035

enum QSerialPort::StopBits wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.14.2
    • Serial Port
    • None
    • windows 10
    • Windows

    Description

      enum QSerialPort::StopBits have a wrong. There is no QSerialPort::OneAndHalfStop in windows platform. Test code:

      serialPort.setStopBits(QSerialPort::OneAndHalfStop); 

      qDebug() <<"stopbit:"<<serialPort.stopBits() <<static_cast<int>(serialPort.stopBits());

      output:

      stopbit: QSerialPort::OneStop 1

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kuzulis Denis Shienkov
            caigm cai gm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes