1 # -----------------------------------------------------------------------------
2 # Copyright © 2014-2015 Colin Duquesnoy
3 # Copyright © 2009- The Spyder development Team
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
7 # -----------------------------------------------------------------------------
9 """Provides QtWebEngine classes and functions."""
16 QtModuleNotInQtVersionError
,
17 QtModuleNotInstalledError
,
22 from PyQt5
.QtWebEngine
import *
23 except ModuleNotFoundError
as error
:
24 raise QtModuleNotInstalledError(
25 name
='QtWebEngine', missing_package
='PyQtWebEngine'
28 raise QtModuleNotInQtVersionError(name
='QtWebEngine')
30 from PySide2
.QtWebEngine
import *
32 raise QtModuleNotInQtVersionError(name
='QtWebEngine')