PDA

View Full Version : Why is the Qt documentation so frustratingly insufficient?



ayanda83
6th December 2016, 08:46
The QWebEngine documentation needs a lot of work. I just wanna know how to use QWebEngineScript class with the QWebEnginePage class to inject the scripts to the page. The QWebEngineScript documentation says this class encapsulates a javascript program but no example as to how this is achieved. Does anybody know how this is done or perhaps point me to an example.

anda_skoa
6th December 2016, 13:55
Usually Qt's documentation is very thorough, but webengine is a pretty new module.

The web engine widget's example "demobrowser" is using QWebEngineScript, so it is simply just not linked from the class documentation.

You could submit such a change as an improvement :)

Cheers,
_