Qt MQTT C++ Classes

提供可通过 MQTT 协议发送消息的类。更多

命名空间

QMqtt

包含整个Qt MQTT 模块中使用的各种标识符。

QMqttAuthenticationProperties

代表认证过程中的配置选项

QMqttClient

代表与 MQTT 代理通信的中心访问

QMqttConnectionProperties

代表 QMqttClient 在调用 QMqttClient::connectToHost() 时传递给服务器的配置选项

QMqttLastWillProperties

代表 QMqttClient 在连接服务器时指定最后意愿时可传递给服务器的配置选项

QMqttMessage

基于订阅从消息代理接收到的消息的相关信息

QMqttMessageStatusProperties

代表服务器在消息传递过程中提供的附加信息

QMqttPublishProperties

代表发送或接收消息的配置选项

QMqttServerConnectionProperties

代表 QMqttClient 所连接服务器的配置选项

QMqttStringPair

代表 MQTT 5.0 标准的字符串对数据类型

QMqttSubscription

从 MQTT 代理接收关于指定主题的通知

QMqttSubscriptionProperties

代表 QMqttClient 订阅主题过滤器时可传递给服务器的配置选项

QMqttTopicFilter

代表 MQTT 主题过滤器

QMqttTopicName

代表 MQTT 主题名称

QMqttUnsubscriptionProperties

代表 QMqttClient 在取消订阅主题过滤器时可传递给服务器的配置选项

QMqttUserProperties

代表可传递给服务器的 QMqttStringPair 值列表

详细说明

Qt MQTT页面包含有关如何使用该模块的信息。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.