We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37eb101 commit 7ca36cfCopy full SHA for 7ca36cf
pyinstaller/pyi_rth_qt_xcb.py
@@ -0,0 +1,10 @@
1
+import os
2
+import sys
3
+
4
+# Prevent Qt's XCB plugin from initializing GLX before OCCT does.
5
+# When Qt's bundled libqxcb.so fails to find a matching GLX FBConfig,
6
+# it can leave the display connection in a state that breaks OCCT's own
7
+# GLX initialization. OCCT creates its own GL context via Xw_Window
8
+# directly, so Qt does not need GLX integration.
9
+if sys.platform.startswith("linux"):
10
+ os.environ["QT_XCB_GL_INTEGRATION"] = "none"
0 commit comments