添加某个功能,比如(QSerialPort),不仅需要保护头文件

 

Qt ------ 添加某个功能,比如(QSerialPort)注意事项

 

还需要在.pro文件内添加 QT += serialport

 

相关文章: