Solved 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 functions
productIdentifier()
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? -
@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!