QtWebEngine/Features: Difference between revisions
mNo edit summary |
|||
Line 1: | Line 1: | ||
(Incomplete) list of WebEngine features, and how to test for them. | (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'': [http://doc.qt.io/qt-5/qtwebengine-debugging.html 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 == | == WebRTC == | ||
Line 61: | Line 70: | ||
''How to test'': QtWebEngine should be built with proprietary codecs enabled (qmake 'WEBENGINE_CONFIG+=use_proprietary_codecs' qtwebengine.pro). 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/]. | ''How to test'': QtWebEngine should be built with proprietary codecs enabled (qmake 'WEBENGINE_CONFIG+=use_proprietary_codecs' qtwebengine.pro). 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/]. | ||
== Fullscreen == | == Fullscreen == |
Revision as of 14:50, 28 April 2016
(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 .
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 (qmake 'WEBENGINE_CONFIG+=use_proprietary_codecs' qtwebengine.pro). Try and view videos at. e.g. http://demo.castlabs.com/, http://ssdemo04.swankmp.net/ or https://shaka-player-demo.appspot.com/demo/.
Fullscreen
Local Storage
==