Qt 6.11 introduces a C++ API for the Qt WebView module under Technology Preview, giving C++ developers an alternative to Qt WebEngine for embedding web content. Unlike WebEngine, which bundles a full Chromium runtime, WebView wraps the system-provided web libraries (Edge WebView2 on Windows, WkWebView on macOS/iOS, Android WebView), reducing resource usage and binary size. The QWebView class subclasses QWindow, and can be embedded in Qt Widgets apps via QWidget::createWindowContainer(). The API supports navigation controls, JavaScript injection with result callbacks, load status signals, and per-instance settings via a WebAttribute enumeration. The Qt team is seeking developer feedback before finalizing the API.
Sort: