Important: Please read the Qt Code of Conduct -

Is qml webview supports javascript bridge.

  • So for we are using qml webengine view that works for desktop. But deploying for mobile shows error in package webengine. So using webview both desktop and mobile deployment is solved but the javascript is not supported by webview class if i commented out line webview works if there i include the javascript bridge it shows error. What I actually need is module supports both desktop and mobile platforms that supports javascript bridge also. Need some help. Suggest something that works better. I'm using Qt 5.5.1 version. Thanks in advance.

  • Moderators

    on mobile (using Qt) the QtWebView is the best you can get yet.
    The QtWebView is just an overlay item which wraps the native webview. So no JavaScript integration.

  • @raven-worx
    Thanks for your reply.
    In desktop platforms we are using webengine module for handling webpages and we also have some javascript implementations in webengine.
    But when deploying the same to mobile platforms faced problem with webengine not supports with mobile platforms , Is there any way implementing javascript in mobile platforms?
    Or is there any workaround to deal this situations?

  • Moderators

    at least not the Qt-way

Log in to reply