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 - Browser does not work on android
QtWS25 Last Chance

SOLVED - Browser does not work on android

Scheduled Pinned Locked Moved Mobile and Embedded
androidqtandroidqt5.4browserwebviewqt 5.4.1qmlwebkitwebengine
3 Posts 2 Posters 3.0k 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.
  • AlexorleonA Offline
    AlexorleonA Offline
    Alexorleon
    wrote on last edited by Alexorleon
    #1

    Hello!
    Please help. The following examples do not work on android:

    http://doc.qt.io/qt-5/qtwebkitexampl...r-example.html
    http://doc.qt.io/qt-5/qtwebengine-qu...r-example.html
    http://doc.qt.io/qt-5/qtwebenginewid...r-example.html

    Android armeabi-v7a (GCC 4.9, Qt 5.4.1) on linux OpenSUSE, produces errors:

    Project ERROR: Unknown module(s) in QT: webengine
    Project ERROR: Unknown module(s) in QT: webenginewidgets
    or example import QtWebEngine 1.0 QML module could not be found.

    I'm trying to use QWebView for android, but it does not work. Incorrect properties.
    import QtQuick 2.3 or 1.0
    import QtQuick.Controls 1.3
    import QtWebKit 3.0

    For desctop everything works fine.

    How to run on android Qt Internet browser?

    p3c0P 1 Reply Last reply
    0
    • AlexorleonA Alexorleon

      Hello!
      Please help. The following examples do not work on android:

      http://doc.qt.io/qt-5/qtwebkitexampl...r-example.html
      http://doc.qt.io/qt-5/qtwebengine-qu...r-example.html
      http://doc.qt.io/qt-5/qtwebenginewid...r-example.html

      Android armeabi-v7a (GCC 4.9, Qt 5.4.1) on linux OpenSUSE, produces errors:

      Project ERROR: Unknown module(s) in QT: webengine
      Project ERROR: Unknown module(s) in QT: webenginewidgets
      or example import QtWebEngine 1.0 QML module could not be found.

      I'm trying to use QWebView for android, but it does not work. Incorrect properties.
      import QtQuick 2.3 or 1.0
      import QtQuick.Controls 1.3
      import QtWebKit 3.0

      For desctop everything works fine.

      How to run on android Qt Internet browser?

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      @Alexorleon AFAIK Qt WebView works on android. Try the example at the bottom provided on that page.

      157

      AlexorleonA 1 Reply Last reply
      0
      • p3c0P p3c0

        @Alexorleon AFAIK Qt WebView works on android. Try the example at the bottom provided on that page.

        AlexorleonA Offline
        AlexorleonA Offline
        Alexorleon
        wrote on last edited by
        #3

        @p3c0
        Yes, thanks.
        I found this example. And he is works.

        http://doc.qt.io/qt-5/qtwebview-minibrowser-example.html

        And I found - Webengine is not supported on android and not with MinGW either.

        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