src/eric7/Tools/webBrowserSupport.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
9 9
10 It looks for QtWebEngine. It reports the variant found or the string 'None' if 10 It looks for QtWebEngine. It reports the variant found or the string 'None' if
11 it is absent. 11 it is absent.
12 """ 12 """
13 13
14 import contextlib
14 import sys 15 import sys
15 import contextlib
16 16
17 variant = "None" 17 variant = "None"
18 18
19 with contextlib.suppress(ImportError): 19 with contextlib.suppress(ImportError):
20 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__ 20 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__

eric ide

mercurial