Monday, March 21, 2011

Qt-ish external libraries: getting serial port and pcap functionality into Qt applications

The Qt API is well known for providing a long list of classes and functions that span from GUI to network support, along with to support for XML, SQL and OpenGL. But even with such an array of modules, from time to time a Qt developer may face some issues dealing with specific domains not cover by the Qt framework. Fortunately, some work have been done outside the framework itself that allow us to get support for serial port accces and the Pcap library.


The QextSerialPort is a cross-platform library (in the form of a class) that provides access to a serial port both in POSIX and Windows environments.

QPcap is a wrapper around libpcap using Qt style API in order to have the capability of doing packet capturing in Qt applications just using QObject and signals and slots (something really common for any Qt developer).

No comments:

Post a Comment