Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.0.0
-
None
-
Windows XP, Windows 7 (64 bit)
Description
On Windows QtSerialPort misses EV_TXEMPTY in event mask. That is why if such an event occures, QtSerialPort will treat it as error. This even is correctly treated on WinCE.
The solution is to edit qserialport_win.cpp and add the missing event to the originalEventMask.
In bool QSerialPortPrivate::open(QIODevice::OpenMode mode)
...
if (mode & QIODevice::WriteOnly)
...
Please commit it with reference to my nickname.
Thanks
Arokux.
Attachments
For Gerrit Dashboard: QTBUG-32014 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
58197,2 | Windows: Fix false ResourceError triggering for CDC ACM devices | stable | qt/qtserialport | Status: ABANDONED | -2 | 0 |
58212,1 | Windows: Fix false ResourceError triggering for CDC ACM devices | release | qt/qtserialport | Status: MERGED | +2 | 0 |
58294,2 | Windows: Fix no longer receive data after EV_TXEMPTY triggered for CDC ACM device | release | qt/qtserialport | Status: MERGED | +2 | 0 |