Qt and serial port programming


Is there any serial port facilities in Qt ?

If not, which crossplatform (desirable) libraries (for working with serial port and, maybe, with other I/O ports), do you recommend ?

10/22/2013 12:46:30 PM

Accepted Answer

Take a look at the Project QextSerialPort.

9/22/2009 10:52:28 AM

Well, there's always Boost.

In Boost there is a great Async I/O library called ASIO. It can perform operations in all sorts of endpoints, including serial ports.

There is a great example about how to build a minicom-like application using Boost::Asio, that you can use to see if ASIO will attend your needs.

Since boost works on all platforms/compilers under the sun, the cross platform requirement can be checked.


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow