当前位置:网站首页>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

边栏推荐
- 架构训练毕业设计+总结
- Acwing game 58
- Correct the classpath of your application so that it contains a single, compatible version of com.go
- Pytest basic self-study series (I)
- 仿《游戏鸟》源码 手游发号评测开服开测合集专区游戏下载网站模板
- 关闭的数据能用dbca删除吗? 能
- 深入解析结构化异常处理(SEH) - by Matt Pietrek
- 2021 RSC | Drug–target affinity prediction using graph neural network and contact maps
- 普源DS1000Z系列数字示波器在通信原理实验中的应用方案
- Application scheme of Puyuan ds1000z series digital oscilloscope in communication principle experiment
猜你喜欢

5张图告诉你:同样是职场人,差距怎么这么大?

Architecture practice camp - graduation project of module 9 of phase 6

1. Mx6u-alpha development board (LED drive experiment in C language version)

Dp83848+ network cable hot plug

UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x98 in position 1093: illegal multibyte sequence

2021 RSC | Drug–target affinity prediction using graph neural network and contact maps

两万字带你掌握多线程

Rhcsa 04 - process management

Modstartblog modern personal blog system v5.2.0 source code download

架构训练毕业设计+总结
随机推荐
一个漂亮的API文档生成工具
Emlog用户注册插件 价值80元
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x98 in position 1093: illegal multibyte sequence
资深开发人员告诉你,怎样编写出优秀的代码?
架构实战营 - 第 6 期 模块九之毕业设计
浅谈JVM的那些事
浅谈一篇优质的小红书文案需要具备什么
Self sharing of a graduate
leetcode 121 Best Time to Buy and Sell Stock 买卖股票的最佳时机(简单)
Redis: order collection Zset type data operation command
Emlog user registration plug-in is worth 80 yuan
Senior developers tell you, how to write excellent code?
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
新手找陪驾要注意什么
Talking about what a high-quality little red book copy needs to have
R语言中如何查看已安装的R包
Talking about JVM
MySQL 索引和事务
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon