There is a QWebView class in qt, and is is used for viewing and editing the web documents.It is a main widget component of Qt webkit.

Source code

*Note If any error comes related to Url then just #include<QUrl>
Screenshot-300x225