当前位置:网站首页>Developing mqtt access program under QT
Developing mqtt access program under QT
2022-07-04 04:40:00 【linchao100】
1、 To download mqtt modular
Download address :https://github.com/emqx/qmqtt, Pay attention to download qmqtt-master Version of , Don't download qtmqtt-dev
Download what suits you qt edition , Otherwise, close to the version , Also change the compiled version number , I modified it by searching and replacing .
2、 Compilation and installation qtmqtt modular
Specifically, copy the header file to qt Development environment include Catalog
use qt Open the download pro file
Compile and pass ok
The inside of prj、 library 、 Copy to the appropriate place
3、 You can try whether the examples in it can be compiled
I compiled simpleclient.pro
The errors are :
a、qtmqtt The module is not installed properly , hold prj Two files are copied to gcc64 Next , Module found ;
b、 Header file not found , Header file to use "QtMqtt/qmqttclient.h"
c、 Change the procedure , Because of my broker Is to enter user and password
Last 、 The program runs well

边栏推荐
- rac删除损坏的磁盘组
- 1. Mx6u-alpha development board (simulating STM32 drive development experiment)
- NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
- Wechat official account infinite callback authorization system source code
- Boutique website navigation theme whole station source code WordPress template adaptive mobile terminal
- R语言dplyr中的Select函数变量列名
- Wechat brain competition answer applet_ Support the flow main belt with the latest question bank file
- Formatted text of Kivy tutorial (tutorial includes source code)
- R语言中如何查看已安装的R包
- Network - vxlan
猜你喜欢

Senior developers tell you, how to write excellent code?
![[Yugong series] go teaching course 001 in July 2022 - Introduction to go language premise](/img/f2/3b95f53d67cd1d1979163910dbeeb8.png)
[Yugong series] go teaching course 001 in July 2022 - Introduction to go language premise

A beautiful API document generation tool
![[microservice openfeign] @feignclient detailed explanation](/img/8d/83bcde1355366c7c88a7a9ade7f9eb.png)
[microservice openfeign] @feignclient detailed explanation

GUI 应用:socket 网络聊天室

Redis: hash type data operation command

Instructions for LPC interrupt binding under ft2000+

【云原生】那些看起来很牛X,原理却很简单的一行代码

关闭的数据能用dbca删除吗? 能

Redis:有序集合zset类型数据操作命令
随机推荐
Boutique website navigation theme whole station source code WordPress template adaptive mobile terminal
[Yugong series] go teaching course 001 in July 2022 - Introduction to go language premise
[security attack and Defense] how much do you know about serialization and deserialization?
疫情远程办公经验分享| 社区征文
Senior developers tell you, how to write excellent code?
Dp83848+ network cable hot plug
【安全攻防】序列化与反序列,你了解多少?
什么是上下文?
Architecture training graduation design + summary
Leetcode 121 best time to buy and sell stock (simple)
Kivy教程之 更改背景颜色(教程含源码)
Kivy教程之 自定义字体(教程含源码)
How to view installed r packages in R language
The "functional art" jointly created by Bolang and Virgil abloh in 2021 to commemorate the 100th anniversary of Bolang brand will debut during the exhibition of abloh's works in the museum
通过dd创建asm disk
Pytest basic self-study series (I)
Krypton saikr daily question - CTF
领导:谁再用redis过期监听实现关闭订单,立马滚蛋!
Redis: operation command for collecting set type data
[microservice openfeign] @feignclient detailed explanation