Displaying (rendering) HTML from a string in QT

c++, html, qt, qt4, user-interface

Solution

QWebViews `setHtml()`:

The QWebView class provides a widget that is used to view and edit web documents.

In Qt `QWebView` is the widget that renders pages for you - if you don't need the networking features it provides, simply don't use them.

Problem

I have html in a QString, what widget can I use to display it? (QWebView is not necessary as I dont access Internet)

Original source