Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

versions of QT & PyQt5 #6

Closed
yssource opened this issue Jun 26, 2018 · 3 comments
Closed

versions of QT & PyQt5 #6

yssource opened this issue Jun 26, 2018 · 3 comments

Comments

@yssource
Copy link

    from app.browser.buffer import BrowserBuffer
<module>
    from PyQt5.QtWebKitWidgets import QWebView, QWebPage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'

Hi,
QtWebKit got deprecated upstream in Qt 5.5 and removed in 5.6.
You may want to switch to PyQt5.QtWebEngineWidgets

@manateelazycat
Copy link
Member

manateelazycat commented Jun 26, 2018

我这边 Qt 5.11 都可以用 QtWebView。

QtWebEngineWidgets后端是OpenGL, 显卡兼容性各种问题,内存泄漏和各种不能开发的问题。

不会用 QtWebEngine的

@yssource yssource changed the title vesions of QT & PyQt5 versions of QT & PyQt5 Jun 26, 2018
@Compro-Prasad
Copy link

@manateelazycat It will be helpful if you could reply in English.

@mut0u
Copy link

mut0u commented Jul 18, 2018

I have the same problem.

I use fedora 28 and install qt env

sudo dnf install python3-pyqt5  python3-qt5-devel
pip3 install  pyqt5

I can import QWebEngineView from PyQt5.QtWebEngineWidgets , but I can not impot QWebView from PyQt5.QtWebKitWidgets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants