QtWebEngine/Features

From Qt Wiki
< QtWebEngine
Revision as of 04:00, 8 April 2018 by Jgkamat (talk | contribs) (Updated qtwebengine DRM instructions to comply with https://bit.ly/2qfTIQ6, using instructions from https://doc.qt.io/qt-5.10/qtwebengine-features.html#audio-and-video-codecs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

(Incomplete) list of WebEngine features, and how to test for them.

Chromium DevTools

Version: Qt 5.4.0 onwards

Description: Ability to inspect and debug layout and performance issues of any web content.

Documentation: Qt WebEngine Developer Tools

How to test: Launch a QtWebEngine app with command line option --remote-debugging-port=[your-port] and use a Chrome instance to connect to http://localhost:[your-port]. See documentation for details.

WebRTC

Version: Qt 5.4.0 onwards

Description: Real-Time Communications (RTC) capabilities via simple APIs

Documentation: -

How to test: Set up a webcam / microphone. Open e.g. https://test.webrtc.org/ in simplebrowser, nanobrowser

HTML5 Geolocation

Version: Qt 5.5.0 onwards

Description: Javascript Geolocation API with QtLocation as a backend

Documentation: n/a

How to test: QtLocation should be built before QtWebEngine. Using demobrowser, go to http://html5demos.com/geo, and allow the page to find your position. Note that on Windows you need an external GPS receiver connected, see QtPositioning documentation.

PPAPI / Adobe Flash

Version: Qt 5.6.0 onwards

Description: Support for PPAPI plugins, and Flash in particular

Documentation: Pepper Flash Player Plugin Support

How to test: Make sure you have the Adobe Flash PPAPI plugin installed. Launch DemoBrowser, NanoBrowser, and make sure that 'Plugins' are enabled. Load https://helpx.adobe.com/flash-player.html .

Fullscreen

Version: Qt 5.6.0 onwards

Description: Support for viewing content in fullscreen mode.

Documentation: n/a

How to test: Use either demobrowser or quicknanobrowser, go to youtube.com and pick any video, and click on the full screen icon to go into fullscreen mode.

Drag & Drop

Version: Qt 5.7.0 onwards

Description: Support for HTML5 drag and drop.

Documentation: n/a

How to test: Try any HTML5 drag and drop demo. E.g. this, that or maybe even yon. Dragging files into the browser is not part of HTML5 but also works.

Printing to PDF

Version: Qt 5.7.0 onwards

Description: Support for printing a web page to a PDF file.

Documentation: n/a

How to test: Using demobrowser, access the menu and choose: File -> Print to PDF.

HTML5 DRM video

DRM Protected, widevine plugin

Version: Qt 5.7.0 onwards

Description: Support for viewing DRM protected videos.

Documentation: n/a

How to test: QtWebEngine should be built with proprietary codecs enabled (pass '-proprietary-codecs' to configure when building qt). Try and view videos at. e.g. http://demo.castlabs.com/, http://ssdemo04.swankmp.net/ or https://shaka-player-demo.appspot.com/demo/.

Local Storage

Version: ???

Description: Support for HTML5 local storage.

Documentation: n/a

How to test: It seems currently there are only auto-tests in qtwebengine/tests/auto/widgets/qwebenginepage, and no manual tests or examples.