1

Since QWebView() is probably not available in Ubuntu 16.10 onwards, what is the alternate possibility to do something like the following:
view = QWebView() view.load(QUrl('http://example.com')

1
  • What is your version of PyQt?
    – eyllanesc
    Dec 30, 2016 at 19:37

1 Answer 1

2

Use QWebEngineView() instead.

QtWebEngine is replacing QtWebKit. You can look into the following link for a comparison on them. QWebView or QWebEngineView

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.