当前位置:网站首页>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
边栏推荐
- GUI 应用:socket 网络聊天室
- PaddleHub人脸识别方案部署,将训练好的模型在pytchrom中进行部署应用
- [wechat applet] good looking carousel map component
- What is the difference between Western Digital Green disk, blue disk, black disk, red disk and purple disk
- Select function variable column name in dplyr of R language
- Redis: order collection Zset type data operation command
- FT2000+下LPC中断绑核使用说明
- Instructions for LPC interrupt binding under ft2000+
- 资深开发人员告诉你,怎样编写出优秀的代码?
- 技术管理 - 学习/实践
猜你喜欢
Longest increasing subsequence problem (do you really know it)
Niuke Xiaobai monthly race 49
The five pictures tell you: why is there such a big gap between people in the workplace?
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x98 in position 1093: illegal multibyte sequence
深入解析结构化异常处理(SEH) - by Matt Pietrek
Senior developers tell you, how to write excellent code?
通过dd创建asm disk
Imitation of "game bird" source code, mobile game issue evaluation, open service, open test collection, game download website template
毕业设计项目
RPC Technology
随机推荐
普源DS1000Z系列数字示波器在通信原理实验中的应用方案
LeetCode136+128+152+148
The five pictures tell you: why is there such a big gap between people in the workplace?
B. All Distinct
Krypton saikr daily question - CTF
5张图告诉你:同样是职场人,差距怎么这么大?
Experience sharing of epidemic telecommuting | community essay solicitation
[microservice openfeign] @feignclient detailed explanation
Talking about JVM
更优雅地远程操作服务器:Paramiko库的实践
Dry goods | detailed explanation of webshell Foundation
How to view installed r packages in R language
微信公众号无限回调授权系统源码
什么是上下文?
y55.第三章 Kubernetes从入门到精通 -- HPA控制器及metrics-server(二八)
Use NRM and NVM to manage your NPM source and node versions
Keysight N9320B射频频谱分析仪解决轮胎压力监测方案
CRS-4013: This command is not supported in a single-node configuration.
I.MX6U-ALPHA开发板(C语言版本LED驱动实验)
Unity Resource path