Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.0, 5.15.1
-
-
4ff9993d9f2e991f2da1885a694d4f3a61c9af73 01e0371f9d (qt/tqtc-qtserialport/5.15) f3a306a30f (qt/qtserialport/dev) f3a306a30f (qt/tqtc-qtserialport/dev) b71e60fbed (qt/tqtc-qtserialport/6.2) 6d5b4b3d71 (qt/qtserialport/6.3)
Description
In synchronous Read this code doesn't work. waitForReadyRead always return false, "buff" will be empty always.
while (m_serialPort->waitForReadyRead(TOUT_MS))
{
buff.append(m_serialPort->readAll());
}
Instead async Read work properly. Signal ReadyRead generated properly.
In 5.12.9 , 5.6 all work correctly.
Attachments
Issue Links
- is duplicated by
-
QTBUG-103822 QSerialPort::waitForReadyRead always returns false on older Windows systems
- Closed
- is required for
-
QTBUG-93865 Fix regressions in QtSerialPort after porting to alertable I/O functions on Windows
- Closed