src/eric7/eric7_browser.py

branch
eric7
changeset 9500
5771348ded12
parent 9482
a2bc06a54d9d
child 9653
e67609152c5e
equal deleted inserted replaced
9499:dd389c57c2f0 9500:5771348ded12
39 ) 39 )
40 sys.argv.remove(arg) 40 sys.argv.remove(arg)
41 41
42 try: 42 try:
43 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__ 43 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__
44 from PyQt6.QtWebEngineCore import QWebEngineUrlScheme
44 except ImportError: 45 except ImportError:
45 if "--quiet" not in sys.argv: 46 if "--quiet" not in sys.argv:
46 from PyQt6.QtCore import QTimer 47 from PyQt6.QtCore import QTimer
47 from PyQt6.QtWidgets import QApplication 48 from PyQt6.QtWidgets import QApplication
48 49
58 " web browser.", 59 " web browser.",
59 ), 60 ),
60 ) 61 )
61 app.exec() 62 app.exec()
62 sys.exit(100) 63 sys.exit(100)
63
64 from PyQt6.QtWebEngineCore import QWebEngineUrlScheme # __IGNORE_WARNING_I201__
65 64
66 from eric7.EricWidgets.EricApplication import EricApplication 65 from eric7.EricWidgets.EricApplication import EricApplication
67 from eric7.Globals import AppInfo 66 from eric7.Globals import AppInfo
68 from eric7.Toolbox import Startup 67 from eric7.Toolbox import Startup
69 from eric7.WebBrowser.WebBrowserSingleApplication import ( 68 from eric7.WebBrowser.WebBrowserSingleApplication import (

eric ide

mercurial