Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.9.0
-
None
-
Windows 10
Description
The following code segment gets the correct data for QSerialPortInfo.manufacturer() and QSerialPortInfo.description() on Windows 8 and below. However they return Microsoft Windows port information instead of the one that we installed on Windows 10, for example QSerialPortInfo.manufacturer() return "Microsoft" and QSerialPortInfo.description() returns "USB xxx" see attached image.
QList<QSerialPortInfo> availablePorts = QSerialPortInfo::availablePorts();
for (QSerialPortInfo portInfo : availablePorts) {
QString description = portInfo.description();
QString portName = portInfo.portName();
QString manufacturer = portInfo.manufacturer();
}
I also noticed that QSerialPortInfo does not support Windows 10 according to https://wiki.qt.io/Qt_Serial_Port. Is this still true?
Thanks!