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

enum QSerialPort::StopBits wrong

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes