Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Difference between QML WebKit & C++ WebKit?
Forum Updated to NodeBB v4.3 + New Features

Difference between QML WebKit & C++ WebKit?

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 3.2k 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.
  • A Offline
    A Offline
    AcerExtensa
    wrote on last edited by
    #1

    Qt Docs says what there is two WebKit modules:

    • Qt WebKit Classes for a WebKit2 based implementation and a new QML API. See also Qt WebKit Widgets in the add-on modules.
    • Qt WebKit Widgets WebKit1 and QWidget-based classes from Qt 4.

    I'm now starting to port Qt4 WebKit browser to Qt5, and i I'm confused about what should I actually use? Is the QWebView/QWebPage classes are outdated and I should use QML webkit plugin? But my app is actually in C++ and i don't want to use this freaky QML. It also does not gives me needed flexibility like setting own QNAM , context menu events, control of subwindow creation etc...

    What is going on with webkit and what should I use?

    God is Real unless explicitly declared as Integer.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      ronghester
      wrote on last edited by
      #2

      I am not expert on this topic but what I learned so far is that the webkit when used in the webview of QML is most upto date. But there are many features which are still not available such as ability to do websettings etc..

      http://qt-project.org/doc/qt-5.0/qtwebkit/qml-qtwebkit3-webview.html

      Also if you use the WebView in QML you will have to load it in using QQuickView in c++ code which create its own window. Which means you can't use your old .ui files. There are few solutions around that which should be verified.

      webkit in c++ is almost unchanged. Again this is i learned from my experience.
      http://qt-project.org/doc/qt-5.0/qtwebkit/qtwebkitwidgets-index.html

      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