mqtt_client.zip

上传者: 40754866 | 上传时间: 2021-05-30 22:25:46 | 文件大小: 1.83MB | 文件类型: ZIP
基于Qt实现MQTT客户端通信示例,实现了客户端之间的订阅、发布消息、接收消息的功能。mqtt目前主要有两个版本,一个是第三方库,一个是qt官方库,两者都需要自己下载源码生成库,另外在方法接口、函数的使用上还是有些区别,注意千万不要弄混了,我当时就是把方法弄混了折腾了好久。。。。

文件下载

资源详情

[{"title":"( 97 个子文件 1.83MB ) mqtt_client.zip","children":[{"title":"mqtt_client","children":[{"title":"mainwindow.ui <span style='color:#111;'> 9.78KB </span>","children":null,"spread":false},{"title":"mqtt_client.pro <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"mqtt_client.pro.user <span style='color:#111;'> 22.18KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"src.pro <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"mqtt","children":[{"title":"qmqttpublishproperties.h <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"qmqttconnection_p.h <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"qmqttpublishproperties.cpp <span style='color:#111;'> 9.34KB </span>","children":null,"spread":false},{"title":"qmqttmessage_p.h <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"qmqttpublishproperties_p.h <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"qmqttauthenticationproperties.h <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"qmqtttopicfilter.h <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"qmqtttopicname.cpp <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"qmqttconnection.cpp <span style='color:#111;'> 72.69KB </span>","children":null,"spread":false},{"title":"mqtt.pro <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"qmqttclient_p.h <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"qmqttconnectionproperties_p.h <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"qmqtttopicname.h <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"qmqttglobal.h <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"qmqttclient.h <span style='color:#111;'> 8.52KB </span>","children":null,"spread":false},{"title":"qmqtttopicfilter.cpp <span style='color:#111;'> 9.69KB </span>","children":null,"spread":false},{"title":"qmqttsubscriptionproperties.cpp <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"doc","children":[{"title":"style","children":[{"title":"style.css <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"module.qdoc <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"index.qdoc <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"overview.qdoc <span style='color:#111;'> 9.25KB </span>","children":null,"spread":false},{"title":"external-resources.qdoc <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"images","children":[{"title":"mqtt.png <span style='color:#111;'> 8.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"qtmqtt.qdocconf <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":false},{"title":"qmqttsubscription.h <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"qmqtttype.h <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"qmqttconnectionproperties.cpp <span style='color:#111;'> 18.45KB </span>","children":null,"spread":false},{"title":"qmqttsubscription.cpp <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"qmqttmessage.cpp <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"qmqttconnectionproperties.h <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"qmqttmessage.h <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"qmqttauthenticationproperties.cpp <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"qmqttsubscriptionproperties.h <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"qmqttcontrolpacket_p.h <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"qmqttcontrolpacket.cpp <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"qmqttsubscription_p.h <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"qmqtttype.cpp <span style='color:#111;'> 12.90KB </span>","children":null,"spread":false},{"title":"qmqttclient.cpp <span style='color:#111;'> 30.08KB </span>","children":null,"spread":false},{"title":"include","children":[{"title":"QtMqtt","children":[{"title":"QtMqttDepends <span style='color:#111;'> 204B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"src.pro.user <span style='color:#111;'> 22.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"mainwindow.cpp <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"Qt5Mqtt.dll <span style='color:#111;'> 185.00KB </span>","children":null,"spread":false},{"title":"Qt5Mqttd.dll <span style='color:#111;'> 5.88MB </span>","children":null,"spread":false},{"title":"Qt5Mqttd.prl <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"Qt5Mqtt.prl <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"cmake","children":[{"title":"Qt5Mqtt","children":[{"title":"ExtraSourceIncludes.cmake <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":"Qt5MqttConfig.cmake <span style='color:#111;'> 6.70KB </span>","children":null,"spread":false},{"title":"Qt5MqttConfigVersion.cmake <span style='color:#111;'> 299B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pkgconfig","children":[{"title":"Qt5Mqtt.pc <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":true},{"title":"libQt5Mqtt.a <span style='color:#111;'> 242.84KB </span>","children":null,"spread":false},{"title":"libQt5Mqttd.a <span style='color:#111;'> 242.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.cpp <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"mqtt","children":[{"title":"qmqttpublishproperties.h <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"qmqttconnection_p.h <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"qmqttpublishproperties.cpp <span style='color:#111;'> 9.34KB </span>","children":null,"spread":false},{"title":"qmqttmessage_p.h <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"qmqttpublishproperties_p.h <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"qmqttauthenticationproperties.h <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"qmqtttopicfilter.h <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"qmqtttopicname.cpp <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"qmqttconnection.cpp <span style='color:#111;'> 72.69KB </span>","children":null,"spread":false},{"title":"mqtt.pro <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"qmqttclient_p.h <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"qmqttconnectionproperties_p.h <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"qmqtttopicname.h <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"qmqttglobal.h <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"qmqttclient.h <span style='color:#111;'> 8.52KB </span>","children":null,"spread":false},{"title":"qmqtttopicfilter.cpp <span style='color:#111;'> 9.69KB </span>","children":null,"spread":false},{"title":"qmqttsubscriptionproperties.cpp <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"doc","children":[{"title":"style","children":[{"title":"style.css <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"module.qdoc <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"index.qdoc <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"overview.qdoc <span style='color:#111;'> 9.25KB </span>","children":null,"spread":false},{"title":"external-resources.qdoc <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"images","children":[{"title":"mqtt.png <span style='color:#111;'> 8.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"qtmqtt.qdocconf <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":false},{"title":"qmqttsubscription.h <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"qmqtttype.h <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"qmqttconnectionproperties.cpp <span style='color:#111;'> 18.45KB </span>","children":null,"spread":false},{"title":"qmqttsubscription.cpp <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"qmqttmessage.cpp <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"qmqttconnectionproperties.h <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"qmqttmessage.h <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"qmqttauthenticationproperties.cpp <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"qmqttsubscriptionproperties.h <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"qmqttcontrolpacket_p.h <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"qmqttcontrolpacket.cpp <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"qmqttsubscription_p.h <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"qmqtttype.cpp <span style='color:#111;'> 12.90KB </span>","children":null,"spread":false},{"title":"qmqttclient.cpp <span style='color:#111;'> 30.08KB </span>","children":null,"spread":false},{"title":"include","children":[{"title":"QtMqtt","children":[{"title":"QtMqttDepends <span style='color:#111;'> 204B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 827B </span>","children":null,"spread":false},{"title":"include","children":[{"title":"QtMqtt","children":[{"title":"QtMqttDepends <span style='color:#111;'> 204B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明