Click here to Skip to main content
11,410,129 members (62,494 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Windows MacOS QT
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
Posted 24-Aug-12 15:12pm
Comments
Volynsky Alex at 26-Aug-12 4:19am
   
Try to use the QextSerialPort (http://code.google.com/p/qextserialport/)
The QextSerialPort provides an interface to old fashioned serial ports for Qt-based applications. It currently supports Mac OS X, Windows, Linux, FreeBSD.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 169
1 OriginalGriff 70
2 BillWoodruff 70
3 Maciej Los 68
4 Philippe Mori 60
0 Sergey Alexandrovich Kryukov 8,755
1 OriginalGriff 6,915
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | Last Updated 24 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100