Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Qtwebengine on Android
Servers for Qt installer are currently down

Qtwebengine on Android

Scheduled Pinned Locked Moved QtWebEngine
5 Posts 3 Posters 11.9k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    shedo
    wrote on last edited by
    #1

    Hi,
    I'm trying to porting my application to Android and I have a qml with a webview, I read that QtWebKit was replaced by QtWebEngine so I update it (WebView -> WebEngineView). I also read that QtWebEngine support Android ("link":http://qt-project.org/wiki/QtWebEngine) but when I have tried to compile it I had this error:

    Project ERROR: Unknown module(s) in QT: webengine

    My .pro include: @QT+= qml quick widgets webengine@

    My qml import: @import QtWebEngine 1.0@

    Are there other imports for android?

    1 Reply Last reply
    1
    • B Offline
      B Offline
      bablzz
      wrote on last edited by
      #2

      Hi,
      try
      "Porting from Qt WebKit to Qt WebEngine.":http://qt-project.org/wiki/QtWebEnginePortingFromQtWebKit#8d96d1b10c6eb6c309d64e899cea9e83

      best regards

      1 Reply Last reply
      0
      • S Offline
        S Offline
        shedo
        wrote on last edited by
        #3

        Hi, thanks for your reply.

        [quote author="bablzz" date="1424424152"]Hi,
        try
        "Porting from Qt WebKit to Qt WebEngine.":http://qt-project.org/wiki/QtWebEnginePortingFromQtWebKit#8d96d1b10c6eb6c309d64e899cea9e83[/quote]

        I have read the guide, however with webengine and webenginewidgets there is always the same error:

        @QT+= qml quick widgets webenginewidgets@

        Project ERROR: Unknown module(s) in QT: webenginewidgets

        or

        @QT+= qml quick widgets webengine@

        Project ERROR: Unknown module(s) in QT: webengine

        The problem comes only when I'm trying to compile my code for Android, if I compile for linux there isn't any problem.

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

          Hi,

          Qt WebEngine is not available on mobile platforms.

          Use "Qt WebView":http://doc.qt.io/qt-5/qtwebview-index.html instead

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

          1 Reply Last reply
          2
          • S Offline
            S Offline
            shedo
            wrote on last edited by
            #5

            [quote author="JKSH" date="1424486520"]Hi,

            Qt WebEngine is not available on mobile platforms.

            Use "Qt WebView":http://doc.qt.io/qt-5/qtwebview-index.html instead[/quote]

            Thanks a lot, it works!

            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