I am creating one Qt based application for windows and Mac OS X. I used Qextserial port to connect and communicate through serial port it works well.

But now I need to list existing serial ports in a system like "COM1" "COM2" etc.

How I can do this in Qt, is there any native C++ code available to list existing serial ports in a system that i can include in Qt application