把QT对应的编译器目录添加到系统环境变量

源码编译QtMqtt模块到QT中

1.下载官方源码

git clone https://github.com/qt/qtmqtt

源码编译QtMqtt模块到QT中

2.切换目录

cd qtmqtt

源码编译QtMqtt模块到QT中

3.切换分支 我的是 5.10.1 

git checkout 5.10

源码编译QtMqtt模块到QT中

4.使用VS2015的本机命令提示符 我用VS2015的 x64版本

进入 qtmqtt目录下

源码编译QtMqtt模块到QT中

cd /d D:\Git\qtmqtt

5.输入  qmake

源码编译QtMqtt模块到QT中

6.输入 nmake

源码编译QtMqtt模块到QT中

7.输入 nmake install

源码编译QtMqtt模块到QT中

最终结果

源码编译QtMqtt模块到QT中

 

不需要自己手动拷贝 !

 

 

 

相关文章:

  • 2021-07-18
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-19
  • 2021-10-30
  • 2022-12-23
  • 2021-05-07
  • 2021-05-12
  • 2021-07-07
相关资源
相似解决方案