Qt Serial Port C++ Classes▲
List of C++ classes that enable access to a serial port.
Classes▲
-
QSerialPort: Provides functions to access serial ports.
-
QSerialPortInfo: Provides information about existing serial ports.
Detailed Description▲
To use QSerialPort in your application, add the following include statement:
Sélectionnez
#include <QSerialPort>
For QSerialPortInfo, use the following include statement:
Sélectionnez
#include <QSerialPortInfo>
To link against the module, add this line to your qmake .pro file:
Sélectionnez
QT +=
serialport