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. QWebView for mobile
Forum Updated to NodeBB v4.3 + New Features

QWebView for mobile

Scheduled Pinned Locked Moved Mobile and Embedded
qt5.5androidiosmobile
6 Posts 3 Posters 1.8k Views 2 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.
  • BuleronB Offline
    BuleronB Offline
    Buleron
    wrote on last edited by
    #1

    QwebView missing for mobile any other idea so i can load url in mobile app?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The QtWebView module is what you are looking for. It's a wrapper around native web views.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • BuleronB Offline
        BuleronB Offline
        Buleron
        wrote on last edited by
        #3

        Hi @SGaist thanks for reply

        im using
        #include "QWebView"

           ui->webView->load(QUrl("http://www.google.com"));
           ui->webView->show();
        

        but when im deploying in android :
        Project ERROR: Unknown module(s) in QT: webkitwidgets
        problem with .pro
        QT += webkitwidgets

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Because the QtWebKit and QtWebKitWidgets modules are not available on the mobile targets due to platforms restriction for both iOS and Android outside Qt's control.

          The QtWebView module is what you need to use for these. The class name will be the same but the module is different.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          V 1 Reply Last reply
          0
          • SGaistS SGaist

            Because the QtWebKit and QtWebKitWidgets modules are not available on the mobile targets due to platforms restriction for both iOS and Android outside Qt's control.

            The QtWebView module is what you need to use for these. The class name will be the same but the module is different.

            V Offline
            V Offline
            vladstelmahovsky
            wrote on last edited by
            #5

            @SGaist
            is there is a chance to get wrapper from QtWebView to QtWebEngine for non- OSX desktops?
            This will help to unify codebase a lot

            thanks

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              QtWebView is not a wrapper around QtWebEngine, it's a wrapper around the platforms native web views.

              I don't know the roadmap for the module

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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