eric7/eric7_browser.py

branch
eric7
changeset 8552
f9cf1ff5126a
parent 8358
144a6b854f70
child 8616
651cc4e319fb
--- a/eric7/eric7_browser.py	Sun Aug 29 12:07:44 2021 +0200
+++ b/eric7/eric7_browser.py	Sun Aug 29 12:40:12 2021 +0200
@@ -35,6 +35,13 @@
             QSettings.Format.IniFormat, QSettings.Scope.UserScope, SettingsDir)
         sys.argv.remove(arg)
 
+# TODO: remove this workaround once issue is fixed
+# Workaround for a bug in Qt 6.2.0 beta3 on Linux
+if sys.platform.startswith("linux"):
+    from PyQt6.QtCore import QLibraryInfo
+    libraryPath = QLibraryInfo.path(QLibraryInfo.LibraryPath.LibrariesPath)
+    os.environ["LD_LIBRARY_PATH"] = libraryPath
+
 try:
     from PyQt6 import QtWebEngineWidgets    # __IGNORE_WARNING__
 except ImportError:

eric ide

mercurial