PyQt5 web browser with QWebEngineView crashing

0

I'm trying to implement a simple web browser on my application. It works fine, a bit slow, but works fine for some pages. The problem is when i try to load heavier pages like youtube. It crashes and prints Process finished with exit code -1073741819 (0xC0000005)

Here is a simple code of what i'm trying to do:

import sys
from PyQt5.QtCore import *
from PyQt5.QtWebEngineWidgets import *
from PyQt5.QtWidgets import QApplication

app = QApplication(sys.argv)

web = QWebEngineView()
web.load(QUrl("https://youtube.com"))
web.showMaximized()
web.show()

sys.exit(app.exec_())
python
browser
pyqt5
asked on Stack Overflow Oct 11, 2019 by Arthur Pereira

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0