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

边栏推荐
猜你喜欢

Dp83848+ network cable hot plug

Deep parsing structured exception handling (SEH) - by Matt Pietrek

Emlog user registration plug-in is worth 80 yuan

NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon

仿《游戏鸟》源码 手游发号评测开服开测合集专区游戏下载网站模板

NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线

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

Keysight N9320B射频频谱分析仪解决轮胎压力监测方案

NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon

Emlog用户注册插件 价值80元
随机推荐
2020 Bioinformatics | TransformerCPI
Niuke Xiaobai monthly race 49
毕业设计项目
资深开发人员告诉你,怎样编写出优秀的代码?
Precautions for accompanying driving these 23 points should be paid attention to!
Many founders of technology companies provided enterpriser first with a round C financing of up to US $158million to help it invest in the next generation of global innovators
Redis: order collection Zset type data operation command
Krypton saikr daily question - CTF
R语言中如何查看已安装的R包
MySQL JDBC编程
Experience sharing of epidemic telecommuting | community essay solicitation
Unity Resource path
LeetCode136+128+152+148
What is the difference between Western Digital Green disk, blue disk, black disk, red disk and purple disk
Correct the classpath of your application so that it contains a single, compatible version of com.go
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
Touch your hand and bring you a commonjs specification
【云原生】那些看起来很牛X,原理却很简单的一行代码
微信公众号无限回调授权系统源码
Deep parsing structured exception handling (SEH) - by Matt Pietrek