Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63547

QSerialPortInfo.manufacturer() and QSerialPortInfo.description() returns wrong info on Windows 10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important P2: Important
    • None
    • 5.9.0
    • Serial Port
    • None
    • Windows 10

      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!

        1. wrongData.png
          wrongData.png
          66 kB
        2. Qt.bug.png
          Qt.bug.png
          188 kB
        3. Qt.bug.png
          Qt.bug.png
          222 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kuzulis Denis Shienkov
            cnmm cnm marketing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes