[Interest] List all existing serial ports
Darryl Hunter
darryl.hunter at codersoft.com.au
Sat Aug 25 07:04:42 CEST 2012
If you're already using QExtSerialPort, why not just use:
QList<QextPortInfo> allPorts=QextSerialEnumerator::getPorts();
Darryl
From: interest-bounces+darryl.hunter=codersoft.com.au at qt-project.org
[mailto:interest-bounces+darryl.hunter=codersoft.com.au at qt-project.org] On
Behalf Of Arun Kumar
Sent: Saturday, 25 August 2012 2:08 PM
To: interest at qt-project.org
Subject: [Interest] List all existing serial ports
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120825/53a259f4/attachment.html>
More information about the Interest
mailing list