![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Qt串口
qixiaocnmn
这个作者很懒,什么都没留下…
展开
-
QT:Error while building/deploying project
正在启动 “D:\Qt\5.7\mingw53_32\bin\qmake.exe” E:\QtProgram\XXX.pro -r -spec win32-g++ “CONFIG+=debug” “CONFIG+=declarative_debug” “CONFIG+=qml_debug” Cannot find file: E:\QtProgram\XXX.pro. 16:16:16: 进程”原创 2017-07-05 19:06:36 · 1231 阅读 · 0 评论 -
Qt——QtSerialPort/QSerialPort(一)
1.在H文件中创建串口类class SPComm ——定义相关的变量,函数 2.在Cpp文件中,完善函数功能 3.两者之间的桥梁是基于QSerialPort *m_serialport这个变量 4.例子 如:m_serialport->isOpen()来判断COM口是否打开,进一步完善SPComm中 bool isOpen() const; 这个函数。 5.注意 在函数实现的过程中,第一原创 2017-07-06 09:17:54 · 2140 阅读 · 0 评论 -
Qt qDebug()
qDebug() 一、使用方法 1.在.pro文件的结尾加上CONFIG += console 2.qDebug(“XXXXXXX”); 尝试使用qDebug()<<”XXXXXX”;与qDebug()<原创 2017-07-06 09:28:05 · 492 阅读 · 0 评论