QserialPort StopBits too args
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.
I overlook the function prefix set... Now code work as excpected.
You are welcome.
It looks a bit misleading in the doucmentation, especially when you are not used to it.
Please mark also this thread as solved, when it is for you.
You should find teh "Topic Tools" button and click on "Mark as Solved"