QSerialPortInfo issue

  • Hi! I'm developing app for Linux and Windows that communicates with usb device. I found convinient to control usb with QSerialPort and QSerialPortInfo. But behavior of QSerialPortInfo differs in OS. In Linux functionsproductIdentifier() andvendorIdentifier() returnd actuall pid and vid, but in Windows 7 32 bit they return 0 (can't find vid and pid). Is there anything i can do to make it work right?

  • Moderators

    @DimaZhu I believe, that is a problem of your usb-Serial adapter or more specific the driver of that adapter for windows.

    I have one such myself and I do get the correct Vendor ID and Product ID

  • Yes, you're right. Something was wrong with drivers. I reinstalled it and everything went fine. Thanks!

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.