From 441fc2ad90af0f828c1746ed106fb0458167c744 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 10 Apr 2024 16:57:47 +0200 Subject: 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 --- src/webchannel/doc/src/javascript.qdoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/webchannel') 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 -- cgit v1.2.3