Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.1.0 RC1
-
None
-
OS: Windows 7 64bit, Qt version MinGW 5.1RC1
Description
QSerialPort::waitForReadyRead returns immediately even if there is no data recieved. Windows port only
QSerialPort port;
... // open, init, other
port.waitForReadyRead(100);
QByteArray chunk = port.readAll()
If the serial input buffer is empty the following code will not block for 100mS, and chunk will be empty.
ps. I could not find the SerialPort Component in the Jira system thus the component field might be changed or SerialPort Component needs to be added into the system.