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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.9.0
    • Serial Port
    • 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!

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes