Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Different webviews on different platforms? QWebEngine?
Forum Updated to NodeBB v4.3 + New Features

Different webviews on different platforms? QWebEngine?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.3k 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.
  • N Offline
    N Offline
    nicky j
    wrote on last edited by
    #1

    Hello,

    I have been working on a web browser in Qt that relies on QWebView to render the web pages. I have heard that Apple requires that you use their version of the web view on iOS devices. I am not sure if Google requires the same for Android. If I want to port my browser to iOS down the road, will I need to somehow insert the Apple webview?

    I have heard talk of QWebEngine, I believe its supposed to replace QWebKit. Will the QWebEngineView be similar to QWebView in terms of slots or signals, or will I have to start my browser again from scratch?

    Thank you!

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

      Hi,

      Yes both Apple and Google require to use their web view. You can use "QtWebView":https://qt.gitorious.org/qt/qtwebview/source/ on these platform however it doesn't offer all the functionalities of QtWebKit but might be enough for your use case.

      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
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        To clarify:

        • QWebView is a class that is part of the Qt WebKit module. It will be replaced by the QWebEngineView class.
        • Qt WebView is a module that provides native Android/iOS WebView.
        • Qt WebEngine is a desktop-only module, like Qt WebKit.

        [quote author="nicky j" date="1417734759"]Will the QWebEngineView be similar to QWebView in terms of slots or signals, or will I have to start my browser again from scratch?[/quote]The "porting guide":http://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html should answer your questions.

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

        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