eric7/eric7_browser.py

branch
eric7
changeset 8617
3ea0b67205b6
parent 8616
651cc4e319fb
child 8631
b2c4c2f3fda7
equal deleted inserted replaced
8616:651cc4e319fb 8617:3ea0b67205b6
34 QSettings.setPath( 34 QSettings.setPath(
35 QSettings.Format.IniFormat, QSettings.Scope.UserScope, SettingsDir) 35 QSettings.Format.IniFormat, QSettings.Scope.UserScope, SettingsDir)
36 sys.argv.remove(arg) 36 sys.argv.remove(arg)
37 37
38 try: 38 try:
39 # TODO: remove this workaround once rc0 issue is fixed
40 # Workaround for a bug in Qt 6.2.0 rc0 on non-Linux
41 if not sys.platform.startswith("linux"):
42 raise ImportError
43
39 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__ 44 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__
40 except ImportError: 45 except ImportError:
41 if "--quiet" not in sys.argv: 46 if "--quiet" not in sys.argv:
42 from PyQt6.QtCore import QTimer 47 from PyQt6.QtCore import QTimer
43 from PyQt6.QtWidgets import QApplication 48 from PyQt6.QtWidgets import QApplication

eric ide

mercurial