Integrating Web Content

To create Qt-based web applications, Qt provides interfaces that support a wide range of standard web techologies such as HTML, CSS, and JavaScript. These interfaces enable applications to embed content from the World Wide Web.

It is also possible to combine Qt C++ and QML code with HTML and JavaScript to create web applications. Through Qt WebChannel, several of Qt's APIs are accessible to remote clients.

WebEngine in Qt

Qt provides the Chromium-based Qt WebEngine module for applications targeting desktop and embedded platforms. For example, a web browser application for Linux platform.

It also provides the Qt WebView module, which uses the native web engine of the platform. For example, a RSS feed reader Qt Quick application for Android and iOS.

These pages contain information about porting applications to use Qt WebEngine and the various APIs:

  • Qt WebEngine Overview
  • Qt WebView
  • Porting from Qt WebKit to Qt WebEngine

Qt and HTML-JavaScript Hybrid Applications

The Qt WebChannel module enables HTML or JavaScript clients to access Qt APIs such as QObject. It provides both C++ or QML API, allowing Qt apps to communicate with JavaScript and HTML frontends.

These pages contain more information about the various APIs:

© 2018 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.