Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
QtWebEngine/Features: Difference between revisions
m (→Local Storage) |
(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) |
||
Line 81: | Line 81: | ||
''Documentation'': n/a | ''Documentation'': n/a | ||
''How to test'': QtWebEngine should be built with proprietary codecs enabled ( | ''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://demo.castlabs.com/], [http://ssdemo04.swankmp.net/ http://ssdemo04.swankmp.net/] or [https://shaka-player-demo.appspot.com/demo/ https://shaka-player-demo.appspot.com/demo/]. | ||
== Local Storage == | == Local Storage == |
Revision as of 04:00, 8 April 2018
(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.