Integrating Web Content
WebKit in Qt
Qt WebKit allows WebKit 2 functionality in QML applications by importing the WebView QML type. WebView has a minimalistic QML API for web content visualization. While it is not as feature-rich as the C++ API of the widget classes, it has multi-touch support and employs a multi-process architecture to render web content in a separate helper process (QtWebProcess). WebView makes it possible to interact with content using touch gestures such as panning with inertia (flick), pinch-zoom, tap and double- tap-to-zoom. The underlying split-process model (WebKit2) assures smooth animations in the embedding application (UI process) as well as increases stability.
These pages have more information about QML:
WebEngine in Qt
As with Qt WebKit, Qt WebEngine allows web content to be displayed in Qt applications. This module is new in Qt 5.4 and in future releases will serve as a replacement to Qt WebKit.
These pages contain information about porting applications to use Qt WebEngine and the various APIs:
- Qt WebEngine - provides a QML API
- Qt WebEngine Widgets - provides a C++ API
- Porting from Qt WebKit to Qt WebEngine
These pages contain more information about the various APIs:
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.