Qt MQTT C++ Classes

Provides classes that enable sending messages via the MQTT protocol. More...

Namespaces

QMqtt

Contains miscellaneous identifiers used throughout the Qt MQTT module

Classes

QMqttAuthenticationProperties

Represents configuration options during the authentication process

QMqttClient

Represents the central access communicating with an MQTT broker

QMqttConnectionProperties

Represents configuration options a QMqttClient can pass to the server when invoking QMqttClient::connectToHost()

QMqttLastWillProperties

Represents configuration options a QMqttClient can pass to the server when specifying the last will during connecting to a server

QMqttMessage

Information about a message received from a message broker based on a subscription

QMqttMessageStatusProperties

Represents additional information provided by the server during message delivery

QMqttPublishProperties

Represents configuration options for sending or receiving a message

QMqttServerConnectionProperties

Represents configuration options of a server a QMqttClient is connected to

QMqttStringPair

Represents the string pair data type of the MQTT 5.0 standard

QMqttSubscription

Receives notifications from an MQTT broker about a specified topic

QMqttSubscriptionProperties

Represents configuration options a QMqttClient can pass to the server when subscribing to a topic filter

QMqttTopicFilter

Represents a MQTT topic filter

QMqttTopicName

Represents a MQTT topic name

QMqttUnsubscriptionProperties

Represents configuration options a QMqttClient can pass to the server when unsubscribing from a topic filter

QMqttUserProperties

Represents a list of QMqttStringPair values which can be passed to the server

Detailed Description

To use these classes in your application, use the following include statement:

#include <QtMqtt/QtMqtt>

To link against the module, add this line to your qmake .pro file:

QT += mqtt

© 2024 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.