aboutsummaryrefslogtreecommitdiffstats
path: root/src/webchannel/doc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-10 16:57:47 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-12 14:13:29 +0200
commit441fc2ad90af0f828c1746ed106fb0458167c744 (patch)
tree69fd0e258385920519eaf76159ca2c73730d7c4b /src/webchannel/doc
parent33463ffbd0f7b06ddf9edc5a34023f1c02966cd4 (diff)
Document that only a single QWebChannel object can be used on a page
This has been the status quo for a long time, so document it as a current limitation. Task-number: QTBUG-64408 Pick-to: 6.7 6.5 Change-Id: Ia702f69a5b44dda61c8cff85036cbff8dea70ac2 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'src/webchannel/doc')
-rw-r--r--src/webchannel/doc/src/javascript.qdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webchannel/doc/src/javascript.qdoc b/src/webchannel/doc/src/javascript.qdoc
index 0657953..911fff5 100644
--- a/src/webchannel/doc/src/javascript.qdoc
+++ b/src/webchannel/doc/src/javascript.qdoc
@@ -28,6 +28,8 @@
socket's \c onopen handler. Take a look at the \l{Qt WebChannel Standalone Example} to see how
this is done.
+ \note Only a single \c QWebChannel object per transport can be created in the same page.
+
A converter wrapper function is either a string with the name of a built-in converter or a
user supplied function that takes the object to process as an argument and returns the
resultant type or undefined if the function does not apply. If undefined is returned the next