QT报错
dialogsetting.h:17:5: error: division by zero in preprocessor expression
qglobal.h:86:30: note: expanded from macro 'QT_CONFIG'
包含头文件名:
#include <QtSerialBus/qtserialbusglobal.h>
dialogsetting.h:8:10: error: 'QSerialPort' file not found
pro文件添加:
QT += serialbus widgets
requires(qtConfig(combobox))
qtConfig(modbus-serialport): QT += serialport
欢迎讨论,相互学习。
cdtxw@foxmail.com