Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-114209

Can't using WebChannel on WebView on Android

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.5.0
    • WebView
    • None
    • Android

      The WebView of QML is not provide WebChannel support. In the Qt example, it is suggest using WebSocket with WebChannel to implementation the connect of QML and HTML, the example needs start a websocket server in QML side, but the Android WebView is disabled to connect non-secure websocket in the "https" website, so if you need to use the WebChannel on Android, you must create a secure websocket server in QML side, this is a hard job.

      I suggest add a "webChannel" property in WebView on all platforms, this is like WebEngineView.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            stromme Christian
            zccrs JiDe Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes