QserialPort StopBits too args
-
Hi,
in def serial->stopBits(QSerialPort::OneStop); and serial->flowControl(QSerialPort::NoFlowControl); is error "Too Much arguments" Other enum options work normally. Where to look for a bug.Hi and welcome to devnet
You are trying to use the getter routines which are constant and do not have arguments.
You need to use the second option listed in the documents in this case setStopBits.
Therefore try
serial->setStopBits(QSerialPort::OneStop); serial->setFlowControl(QSerialPort::NoFlowControl);