Cannot import QtWebKitWidgets in PyQt5

后端 未结 5 826
盖世英雄少女心
盖世英雄少女心 2020-11-27 05:42

I\'ve recently upgraded PyQt5 from 5.5.1 to 5.6.0 using the Windows 32-bit installer here: https://www.riverbankcomputing.com/software/pyqt/download5. I\'ve also upgraded my

5条回答
  •  孤城傲影
    2020-11-27 06:16

    QtWebKit got deprecated upstream in Qt 5.5 and removed in 5.6.

    You may want to switch to PyQt5.QtWebEngineWidgets :

    This supercedes the QtWebKit module and provides better and up-to-date support for HTML, CSS and JavaScript features

提交回复
热议问题