Qt Serial Port C++ 类

允许访问串行端口的 C++ 类列表。 更多...

QSerialPort

提供访问串行端口的函数

QSerialPortInfo

提供有关现有串行端口的信息

详细描述

要在应用程序中使用这些类,请使用以下 include 语句:

#include <QtSerialPort/QtSerialPort>
					

要链接到模块,添加此行到 qmake .pro 文件:

QT += serialport