PDA

View Full Version : Besides displaying Websites on a Qt application, what else is QtWebEngine used for?



ayanda83
8th November 2016, 06:04
This may sound like a stupid question and please forgive me if it does. I am trying to understand the capabilities of the QWebEngine, every tutorial I've seen on the net ends up with a Qt application displaying web content. Is there more that can be done with QWebEngine because if all its good for is displaying a website then why not use a web browser?

anda_skoa
8th November 2016, 17:37
Its main use case is obviously integrated HTML content, i.e. not necessarily loaded from a web server.

E.g. showing application documentation or dynamically generated formatted text that exceeds the capabilities of QTextDocument.

It could also be used to show content from a server but which interacts with content from the applications.

Or for showing OAuth content and needing the resulting token in the application.

Cheers,
_