1diff --git a/qt/aqt/__init__.py b/qt/aqt/__init__.py
2index b6d24080b..5e5faac7b 100644
3--- a/qt/aqt/__init__.py
4+++ b/qt/aqt/__init__.py
5@@ -413,11 +413,5 @@ def setupGL(pm: aqt.profiles.ProfileManager) -> None:
6 # RHI errors are emitted multiple times so make sure we only handle them once
7 driver_failed = False
8
9- # work around pyqt loading wrong GL library
10- if is_lin and not sys.platform.startswith("freebsd"):
11- import ctypes
12-
13- ctypes.CDLL("libGL.so.1", ctypes.RTLD_GLOBAL)
14-
15 # catch opengl errors
16 def msgHandler(category: Any, ctx: Any, msg: Any) -> None:
17 if category == QtMsgType.QtDebugMsg: