Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Is qml webview supports javascript bridge.
Forum Updated to NodeBB v4.3 + New Features

Is qml webview supports javascript bridge.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Ramkumar RammohanR Offline
    Ramkumar RammohanR Offline
    Ramkumar Rammohan
    wrote on last edited by
    #1

    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.

    raven-worxR 1 Reply Last reply
    0
    • Ramkumar RammohanR Ramkumar Rammohan

      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.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Ramkumar-Rammohan
      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.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • Ramkumar RammohanR Offline
        Ramkumar RammohanR Offline
        Ramkumar Rammohan
        wrote on last edited by Ramkumar Rammohan
        #3

        @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?

        raven-worxR 1 Reply Last reply
        0
        • Ramkumar RammohanR Ramkumar Rammohan

          @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?

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @Ramkumar-Rammohan
          at least not the Qt-way

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved