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. [Solved] Qt 5.4 Webkit or Webengine support
QtWS25 Last Chance

[Solved] Qt 5.4 Webkit or Webengine support

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 3 Posters 3.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.
  • O Offline
    O Offline
    onek24
    wrote on last edited by
    #1

    Hey,

    i couldn't find satisfying information about the Webkit or Webengine support for mobile platforms(most likely android), afaik it looks like it's not officially supportet.
    But i also have read that it should be somehow possible to use either Webkit or Webengine. If i am trying to compile for arm it tells me that this module(s) are unknown.

    Is there any possible way to use one of these Webengines?

    Oh and btw.: I am using Qt 5.4.

    Greetings :)

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,
      [quote author="onek24" date="1420715713"]i couldn't find satisfying information about the Webkit or Webengine support for mobile platforms(most likely android), afaik it looks like it's not officially supportet.
      But i also have read that it should be somehow possible to use either Webkit or Webengine.[/quote]They are definitely not supported.

      I'm not sure what happened with Android, but Apple explicitly forbids 3rd-party web engines in iOS, so it is impossible to use Qt WebKit or Qt WebEngine on iOS.

      To run web apps on Android and iOS, use the "Qt WebView":http://doc.qt.io/qt-5/qtwebview-index.html module (not to be confused with Qt WebKit's WebView). This is a thin wrapper around the native web engines on the mobile platforms.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • O Offline
        O Offline
        onek24
        wrote on last edited by
        #3

        bq. They are definitely not supported.

        Well, i hope they will get supportet in the future =).

        bq. To run web apps on Android and iOS, use the Qt WebView [doc.qt.io] module (not to be confused with Qt WebKit’s WebView). This is a thin wrapper around the native web engines on the mobile platforms.

        Thank you very much, as always a high quality answer from you.

        Well, it seems like the Qt WebView is QML-only. Is there any Widget-like type hence this project is not QtQuick based.

        Or let's ask that way: Is it possible to use a Webview Widget(or similar) for an Android Application?

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          You're most welcome :)

          [quote author="onek24" date="1420726875"]Well, i hope they will get supportet in the future =).[/quote]Well, it's difficult. It's even impossible in iOS's case -- unless you can convince Apple to allow it. They are the ones who said no.

          [quote author="onek24" date="1420726875"]Well, it seems like the Qt WebView is QML-only. Is there any Widget-like type hence this project is not QtQuick based.

          Or let's ask that way: Is it possible to use a Webview Widget(or similar) for an Android Application?[/quote]There doesn't seem to be a WebView widget (yet). You could try wrapping the QML version in a QQuickWidget?

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • O Offline
            O Offline
            onek24
            wrote on last edited by
            #5

            [quote author="JKSH" date="1420771621"]There doesn’t seem to be a WebView widget (yet). You could try wrapping the QML version in a QQuickWidget?[/quote]

            Have thought about that but this seems to be an overkill and is hardly possible for this project since it's not just a browser. There are several parts of this application accessing a WebView and a wrapper for the QML version is too much efford for that. I'll try something else, thank you for your time JKSH.

            -- solved --

            1 Reply Last reply
            0
            • deleted57D Offline
              deleted57D Offline
              deleted57
              wrote on last edited by
              #6

              Hi

              Do you find some alternative? The miss of a web engine for android is an huge lack in Qt porting. Event if current QtWebView is a module for QML it can be easily reproduced by making same mixed code C++/java but the limitations of this solution are a lot. The main is the impossibility to overlap the native webview control with some other Qt object (I'm working in graphicview mode and I need layers full working). After months still loking for a solution allowing me to port my application working using webkit to android. Very very bad.

              1 Reply Last reply
              0
              • O Offline
                O Offline
                onek24
                wrote on last edited by
                #7

                Hey,

                sorry, i didn't find any alternatives yet.

                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