I need to do the following. I have USB-UART converter and when it's plugged in it's recognized as serial port. I need to read this serial port's name and add it to combobox, where user can choose it and open for data transfer.
Getting available serial ports is not a problem in Qt. But I want to do it only when device is inserted or removed. I did this in Linux by listening to corresponding DBus signals. Is there something similar in Windows? What I need exactly is to receive messages in my application from system each time when new serial port is connected or disconnected.
I've found some solutions for .NET C#, but have no idea how to reproduce them in Qt. Thanks!