Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    [Solved] Qt 5.4 Webkit or Webengine support

    Mobile and Embedded
    3
    7
    2808
    Loading More Posts
    • 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
      onek24 last edited by

      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 Reply Quote 0
      • JKSH
        JKSH Moderators last edited by

        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 Reply Quote 0
        • O
          onek24 last edited by

          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 Reply Quote 0
          • JKSH
            JKSH Moderators last edited by

            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 Reply Quote 0
            • O
              onek24 last edited by

              [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 Reply Quote 0
              • deleted57
                deleted57 last edited by

                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 Reply Quote 0
                • O
                  onek24 last edited by

                  Hey,

                  sorry, i didn't find any alternatives yet.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post