跳至正文
-
Subscribe to our newsletter & never miss our best posts. Subscribe Now!
BG6RSH's 随记.

我们总是在感叹昨天,忽视今天,幻想着明天中渡过,且过且珍惜.....

BG6RSH's 随记.

我们总是在感叹昨天,忽视今天,幻想着明天中渡过,且过且珍惜.....

  • 首页
  • 论坛
  • 随记
  • 编程
  • 软件
  • 留言
  • 首页
  • 论坛
  • 随记
  • 编程
  • 软件
  • 留言
关

搜索

  • https://www.facebook.com/
  • https://twitter.com/
  • https://t.me/
  • https://www.instagram.com/
  • https://youtube.com/
Subscribe
随记

在QT6中安装qtmqtt、qtopcua控件的方法

作者 admin
2023年6月3日 2 分钟阅读
0

一、将QT6的4个目录回到系统搜索路径中:

二、开始安装:
1.编译代码

D:\Qt\Packages\qtmqtt-6.5.0>D:\Qt\6.5.0\mingw_64\bin\qt-configure-module.bat .
D:\Qt\Packages\qtmqtt-6.5.0>cmake --build .

2.安装控件

D:\Qt\Packages\qtmqtt-6.5.0>cmake --install . --verbose

3.安装过程如下:

D:\Qt\Packages\qtmqtt-6.5.0>D:\Qt\6.5.0\mingw_64\bin\qt-configure-module.bat .
'D:\Qt\6.5.0\mingw_64\bin\\qt-cmake-private.bat' '.'
-- The CXX compiler identification is GNU 11.2.0
-- The C compiler identification is GNU 11.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Qt/Tools/mingw1120_64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Qt/Tools/mingw1120_64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
 
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Qt/Packages/qtmqtt-6.5.0
 
D:\Qt\Packages\qtmqtt-6.5.0>cmake --build .
[24/24] Linking CXX shared library bin\Qt6Mqtt.dll
 
D:\Qt\Packages\qtmqtt-6.5.0>cmake --install . --verbose
-- Install configuration: "RelWithDebInfo"
-- Installing: /Qt/6.5.0/mingw_64/./metatypes/qt6mqtt_relwithdebinfo_metatypes.json
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt/Qt6MqttConfig.cmake
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt/Qt6MqttConfigVersion.cmake
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt/Qt6MqttConfigVersionImpl.cmake
-- Installing: /Qt/6.5.0/mingw_64/lib/libQt6Mqtt.a
-- Installing: /Qt/6.5.0/mingw_64/bin/Qt6Mqtt.dll
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt/Qt6MqttTargets.cmake
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt/Qt6MqttTargets-relwithdebinfo.cmake
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt/Qt6MqttVersionlessTargets.cmake
-- Installing: /Qt/6.5.0/mingw_64/bin/Qt6Mqtt.debug
-- Installing: /Qt/6.5.0/mingw_64/./modules/Mqtt.json
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt/Qt6MqttAdditionalTargetInfo.cmake
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttAuthenticationProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttClient
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttConnectionProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttLastWillProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttMessage
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttMessageStatusProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttPublishProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttServerConnectionProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttStringPair
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttSubscription
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttSubscriptionProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttTopicFilter
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttTopicName
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttUnsubscriptionProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QMqttUserProperties
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QtMqtt
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QtMqttVersion
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qtmqttversion.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qtmqttexports.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqttauthenticationproperties.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqttclient.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqttconnectionproperties.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqttglobal.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqttmessage.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqttpublishproperties.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqttsubscription.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqttsubscriptionproperties.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqtttopicfilter.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqtttopicname.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/qmqtttype.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/QtMqttDepends
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/6.5.0/QtMqtt/private/qmqttclient_p.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/6.5.0/QtMqtt/private/qmqttconnection_p.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/6.5.0/QtMqtt/private/qmqttconnectionproperties_p.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/6.5.0/QtMqtt/private/qmqttcontrolpacket_p.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/6.5.0/QtMqtt/private/qmqttmessage_p.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/6.5.0/QtMqtt/private/qmqttpublishproperties_p.h
-- Installing: /Qt/6.5.0/mingw_64/include/QtMqtt/6.5.0/QtMqtt/private/qmqttsubscription_p.h
-- Installing: /Qt/6.5.0/mingw_64/mkspecs/modules/qt_lib_mqtt.pri
-- Installing: /Qt/6.5.0/mingw_64/mkspecs/modules/qt_lib_mqtt_private.pri
-- Installing: /Qt/6.5.0/mingw_64/lib/pkgconfig/Qt6Mqtt.pc
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt/Qt6MqttDependencies.cmake
-- Installing: /Qt/6.5.0/mingw_64/lib/cmake/Qt6BuildInternals/StandaloneTests/QtMqttTestsConfig.cmake
-- Up-to-date: /Qt/6.5.0/mingw_64/lib
-- Up-to-date: /Qt/6.5.0/mingw_64/lib/cmake
-- Up-to-date: /Qt/6.5.0/mingw_64/lib/cmake/Qt6BuildInternals
-- Up-to-date: /Qt/6.5.0/mingw_64/lib/cmake/Qt6BuildInternals/StandaloneTests
-- Up-to-date: /Qt/6.5.0/mingw_64/lib/cmake/Qt6Mqtt
-- Up-to-date: /Qt/6.5.0/mingw_64/lib/pkgconfig
-- Installing: /Qt/6.5.0/mingw_64/lib/Qt6Mqtt.prl
 
D:\Qt\Packages\qtmqtt-6.5.0>

完成后就可直接引用了。qtopcua或其他控件同样是在qtopcua等控件的源码目录中运行上面相同的命令进行安装,

标签:

QT
作者

admin

关注我
其他文章
上一个

你的 Python 环境或安装版没有 spyder‑kernels 模块或没有安装正确的版本 (>=

下一个

www.tansoo.cn网站空间迁移至armbian主机

暂无评论!成为第一个。

发表回复 取消回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。

4条垃圾评论已被Akismet阻挡 (在新标签页中打开)

近期文章

  • www.tansoo.cn网站空间迁移至armbian主机
  • 在QT6中安装qtmqtt、qtopcua控件的方法
  • 你的 Python 环境或安装版没有 spyder‑kernels 模块或没有安装正确的版本 (>=
  • 用PYTHON爬网络小说源代码
  • QT5.15.2搭建ANDROID编译环境

近期评论

  • gg 发表在《Traccar服务软件高德地图适配版docker镜像安装教程》
  • admin 发表在《Traccar服务软件高德地图适配版docker镜像安装教程》
  • /api/positions/里addres 为什么是null啊? 发表在《Traccar服务软件高德地图适配版docker镜像安装教程》
  • gg 发表在《Traccar服务软件高德地图适配版docker镜像安装教程》
  • 9394 发表在《Traccar服务软件高德地图适配版docker镜像安装教程》

归档

  • 2025 年 6 月
  • 2023 年 6 月
  • 2022 年 10 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2020 年 11 月
  • 2020 年 10 月
  • 2020 年 6 月
  • 2019 年 11 月
  • 2019 年 8 月
  • 2019 年 6 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2017 年 9 月
  • 2016 年 7 月
  • 2016 年 5 月
  • 2015 年 12 月
  • 2015 年 4 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2013 年 10 月
  • 2013 年 9 月
  • 2013 年 8 月
  • 2013 年 7 月
  • 2013 年 6 月
  • 2013 年 5 月
  • 2013 年 4 月
  • 2013 年 3 月
  • 2013 年 2 月
  • 2013 年 1 月
  • 2012 年 12 月
  • 2012 年 11 月
  • 2012 年 10 月
  • 2012 年 6 月
  • 2012 年 3 月
  • 2011 年 8 月
  • 2011 年 5 月
  • 2011 年 4 月
  • 2011 年 3 月
  • 2011 年 1 月
  • 2010 年 8 月
  • 2010 年 6 月
  • 2010 年 4 月
  • 2010 年 3 月
  • 2010 年 2 月
  • 2010 年 1 月
  • 2009 年 12 月
  • 2009 年 11 月

分类

  • 编程
  • 软件
  • 随记

其他操作

  • 注册
  • 登录
  • 条目 feed
  • 评论 feed
  • WordPress.org

标签

aliyun Android CRC DBGridEh ddns Delphi EhLib ESP8266 GP328D gp338plus GP3688 Modbus phpbb python QT raspberry S7-SCL sapi speech SpVoice Synology traccar UART Unicode virtualbox vmware WGS84 wordpress ZeroTier 写频 动态IP 图片尺寸 地图 外挂编程 天气预报 导航 打印 扩频 拼音首字母 支票快打 树莓派 爬虫 百度地图 西门子PLC 车联网API

友情链接

  • 私有云论坛
  • 百度开放云
  • 主机管理
  • My Cloud
  • 智能家居技术论坛
  • 精灵云
  • 雅苑私站
Copyright 2026 — BG6RSH's 随记.. All rights reserved. Blogsy WordPress Theme