Qt MQTT C++ Classes▲
Provides classes that enable sending messages via the MQTT protocol.
Namespaces▲
-
QMqtt: Contains miscellaneous identifiers used throughout the Qt MQTT module.
Classes▲
-
QMqttClient: The QMqttClient class represents the central access communicating with an MQTT broker.
-
QMqttConnectionProperties: The QMqttConnectionProperties class represents configuration options a QMqttClient can pass to the server when invoking QMqttClient::connectToHost().
-
QMqttLastWillProperties: The QMqttLastWillProperties class represents configuration options a QMqttClient can pass to the server when specifying the last will during connecting to a server.
-
QMqttMessage: The QMqttMessage class provides information about a message received from a message broker based on a subscription.
-
QMqttMessageStatusProperties: The QMqttMessageStatusProperties class represents additional information provided by the server during message delivery.
-
QMqttPublishProperties: The QMqttPublishProperties class represents configuration options for sending or receiving a message.
-
QMqttServerConnectionProperties: The QMqttServerConnectionProperties class represents configuration options of a server a QMqttClient is connected to.
-
QMqttStringPair: The QMqttStringPair class represents the string pair data type of the MQTT 5.0 standard.
-
QMqttTopicFilter: The QMqttTopicFilter class represents a MQTT topic filter.
-
QMqttUserProperties: The QMqttUserProperties class 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