摘要: 串口扫描通过遍历QSerialPortInfo::availablePorts()即可获得当前设备的所有串口号 void Scan_SerialPort(void) { foreach (const QSerialPortInfo &info,QSerialPortInfo::availablePo 阅读全文
posted @ 2025-02-07 22:17 txwtech 阅读(49) 评论(0) 推荐(0)
摘要: #include <QSerialPort>报错 #include <QtSerialPort/QSerialPort>正确 阅读全文
posted @ 2025-02-07 11:56 txwtech 阅读(53) 评论(0) 推荐(0)