src/eric7/eric7_browser.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9500
5771348ded12
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
12 of the integrated web browser. It is based on QtWebEngine. 12 of the integrated web browser. It is based on QtWebEngine.
13 """ 13 """
14 14
15 import os 15 import os
16 import sys 16 import sys
17
18 from PyQt6.QtGui import QGuiApplication
17 19
18 app = None 20 app = None
19 SettingsDir = None 21 SettingsDir = None
20 22
21 from eric7 import Globals 23 from eric7 import Globals
57 ), 59 ),
58 ) 60 )
59 app.exec() 61 app.exec()
60 sys.exit(100) 62 sys.exit(100)
61 63
62 from PyQt6.QtWebEngineCore import QWebEngineUrlScheme 64 from PyQt6.QtWebEngineCore import QWebEngineUrlScheme # __IGNORE_WARNING_I201__
63 65
64 from eric7.EricWidgets.EricApplication import EricApplication 66 from eric7.EricWidgets.EricApplication import EricApplication
65 from eric7.Globals import AppInfo 67 from eric7.Globals import AppInfo
66 from eric7.Toolbox import Startup 68 from eric7.Toolbox import Startup
67 from eric7.WebBrowser.WebBrowserSingleApplication import ( 69 from eric7.WebBrowser.WebBrowserSingleApplication import (
130 """ 132 """
131 Main entry point into the application. 133 Main entry point into the application.
132 """ 134 """
133 global app 135 global app
134 136
135 from PyQt6.QtGui import QGuiApplication
136
137 QGuiApplication.setDesktopFileName("eric7_browser.desktop") 137 QGuiApplication.setDesktopFileName("eric7_browser.desktop")
138 138
139 options = [ 139 options = [
140 ( 140 (
141 "--config=configDir", 141 "--config=configDir",

eric ide

mercurial