eric7/eric7.py

branch
eric7
changeset 8552
f9cf1ff5126a
parent 8525
23d37fb05a21
child 8579
cfd0e44ef084
--- a/eric7/eric7.py	Sun Aug 29 12:07:44 2021 +0200
+++ b/eric7/eric7.py	Sun Aug 29 12:40:12 2021 +0200
@@ -42,6 +42,12 @@
         " it is installed and accessible.")
     sys.exit(100)
 
+# 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"):
+    libraryPath = QLibraryInfo.path(QLibraryInfo.LibraryPath.LibrariesPath)
+    os.environ["LD_LIBRARY_PATH"] = libraryPath
+
 with contextlib.suppress(ImportError):
     from PyQt6 import QtWebEngineWidgets
     # __IGNORE_WARNING__ __IGNORE_EXCEPTION__

eric ide

mercurial