ok, after checking latest sources, I modified QSerialPort::open to add a few debug statements:
and here's what I got:
so it led me to the following code:
that is making the assumption that all serial ports are /dev/cu. prefixed files. Whereas a PTY is not...
As suggested by Sergey in QTBUG-32024, we can as well make all absolute path given to the open function skip the modifications, so an user can read from a chardev he has created outside of /dev.
|For Gerrit Dashboard: QTBUG-38639|
|84230,7||Fixed handling serial character devices paths||dev||qt/qtserialport||Status: ABANDONED||-2||0|
|89338,1||handle serial ports that are not found by QSerialPortInfo||dev||qt/qtserialport||Status: ABANDONED||-2||0|
|100691,23||Allow to use custom devices paths||5.4||qt/qtserialport||Status: MERGED||+2||0|
|100903,2||Allow to use custom devices paths||qt4-dev||qt/qtserialport||Status: MERGED||+2||0|