qtmqtt library source code download link
Link: https: //pan.baidu.com/s/1TyqbLX5x17mwhAX-OJiorw
extraction code: i6ww
perl install the download link
Link: https: //pan.baidu.com/s/1xQTMjChlr2mSothEHbMRzA
extraction code: jqxs
Download qtmqtt source code, open the project file qtmqtt.pro qtmqtt folder
Use release compiler, perl error occurred during download perl installation,
Compiled after qtmqtt / src / mqtt copy to Qt / 5.13 / mingw53_32 / include, and delete all the files in a non-head mqtt directory
The two dll under mqtt lib directory and translation of the two copies prl .a and 2 to Qt / 5.13 / mingw53_32 / lib
The two dll under mqtt compiler bin directory to copy Qt / 5.13 / mingw53_32 / bin
The mqtt compiled by the mkspecs \ pri files are copied to the modules Qt / 5.13 / mingw53_32 / mkspecs / modules
qtmqtt library use:
In the project file, add: QT + = mqtt
In the program file: #