From 337d1719103d93985e99b4c89fdedef52124731e Mon Sep 17 00:00:00 2001 From: Even Oscar Andersen Date: Thu, 5 Jun 2025 09:38:56 +0200 Subject: [PATCH] Mention in websockets subscription example that websockets are builtin Added a \note, but keeping the example to show how to create custom transports. Change-Id: Idf3b22532f6e0b94a0113cea6152a36e81398ea9 Reviewed-by: Paul Wicking (cherry picked from commit 6eb01cac467da1aafb5485f958377a8b6999ffe0) Reviewed-by: Qt Cherry-pick Bot --- examples/mqtt/doc/websocketsubscription.qdoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/mqtt/doc/websocketsubscription.qdoc b/examples/mqtt/doc/websocketsubscription.qdoc index 01e4f37..a1bd2f7 100644 --- a/examples/mqtt/doc/websocketsubscription.qdoc +++ b/examples/mqtt/doc/websocketsubscription.qdoc @@ -12,6 +12,9 @@ QIODevice to combine a \l {Qt WebSockets}{web socket} connection with QMqttClient. + \note Since Qt 6.10, WebSockets are supported natively by Qt MQTT. + This example is retained to demonstrate how to implement a custom transport. + \section1 Creating a Custom QIODevice The new custom device, \c WebSocketIODevice, has to be a subclass of