1 # -----------------------------------------------------------------------------
2 # Copyright © 2009- The Spyder Development Team
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides QtWebEngineCore classes and functions."""
15 QtModuleNotInstalledError
,
20 from PyQt5
.QtWebEngineCore
import *
21 except ModuleNotFoundError
as error
:
22 raise QtModuleNotInstalledError(
23 name
="QtWebEngineCore",
24 missing_package
="PyQtWebEngine",
28 from PyQt6
.QtWebEngineCore
import *
29 except ModuleNotFoundError
as error
:
30 raise QtModuleNotInstalledError(
31 name
="QtWebEngineCore",
32 missing_package
="PyQt6-WebEngine",
35 from PySide2
.QtWebEngineCore
import *
37 from PySide6
.QtWebEngineCore
import *