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
For Gerrit Dashboard: QTBUG-87151 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
415578,2 | Windows: fix soft memory leak in synchronous mode | tqtc/lts-5.15 | qt/tqtc-qtserialport | Status: MERGED | +2 | 0 |
415817,3 | Windows: fix soft memory leak in synchronous mode | dev | qt/qtserialport | Status: MERGED | +2 | 0 |
415840,2 | Windows: fix soft memory leak in synchronous mode | 6.4 | qt/qtserialport | Status: MERGED | +2 | 0 |
415841,2 | Windows: fix soft memory leak in synchronous mode | 6.3 | qt/qtserialport | Status: MERGED | +2 | 0 |
415843,2 | Windows: fix soft memory leak in synchronous mode | tqtc/lts-6.2 | qt/tqtc-qtserialport | Status: MERGED | +2 | 0 |