aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/simplebrowser/simplebrowser.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-21 14:52:28 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-23 18:58:41 +0200
commitced7d7b9e1a0cd771be36651558332e0010028bb (patch)
tree5e8c2819b230567f19fe54c765db65942fb52d2f /examples/webenginewidgets/simplebrowser/simplebrowser.py
parent096e64ba2e866abf773f0fab3b72bf48012261f7 (diff)
PySide6: Re-add QtWebEngine, initial step
Remove module QtWebEngine. Move most API from QtWebEngineWidgets to QtWebEngineCore. Adapt imports in tests and examples. The new module QtWebEngineQuick will be added in a follow-up step. This is not functional yet as examples crash in the underlying 6.2 Alpha. Task-number: PYSIDE-1570 Change-Id: I00907e5542404560967e6ae07d102193f1f1e154 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/webenginewidgets/simplebrowser/simplebrowser.py')
-rw-r--r--examples/webenginewidgets/simplebrowser/simplebrowser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/webenginewidgets/simplebrowser/simplebrowser.py b/examples/webenginewidgets/simplebrowser/simplebrowser.py
index 6bf487ebd..021d5311e 100644
--- a/examples/webenginewidgets/simplebrowser/simplebrowser.py
+++ b/examples/webenginewidgets/simplebrowser/simplebrowser.py
@@ -46,7 +46,8 @@ from PySide6.QtCore import QUrl
from PySide6.QtGui import QIcon
from PySide6.QtWidgets import (QApplication, QLineEdit,
QMainWindow, QPushButton, QToolBar)
-from PySide6.QtWebEngineWidgets import QWebEnginePage, QWebEngineView
+from PySide6.QtWebEngineCore import QWebEnginePage
+from PySide6.QtWebEngineWidgets import QWebEngineView
class MainWindow(QMainWindow):