mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
903f78ebde
This redoes all the packaging for their new build-system. It feels a bit fragile, but in practice it works. Basically, we build most of it in nix, write some wrapper scripts to mock out stuff we just did in nix, and then call thier build system to make a wheel
18 lines
602 B
Diff
18 lines
602 B
Diff
diff --git a/qt/aqt/__init__.py b/qt/aqt/__init__.py
|
|
index 352848cfd..3fd5d0769 100644
|
|
--- a/qt/aqt/__init__.py
|
|
+++ b/qt/aqt/__init__.py
|
|
@@ -402,12 +402,6 @@ def parseArgs(argv: list[str]) -> tuple[argparse.Namespace, list[str]]:
|
|
def setupGL(pm: aqt.profiles.ProfileManager) -> None:
|
|
driver = pm.video_driver()
|
|
|
|
- # work around pyqt loading wrong GL library
|
|
- if is_lin:
|
|
- import ctypes
|
|
-
|
|
- ctypes.CDLL("libGL.so.1", ctypes.RTLD_GLOBAL)
|
|
-
|
|
# catch opengl errors
|
|
def msgHandler(category: Any, ctx: Any, msg: Any) -> None:
|
|
if category == QtMsgType.QtDebugMsg:
|