Reorder imports in `qt_screen_info.py` ??
For wtv reason on nixos importing `pyqtgraph` first is causing `numpy` to fail import?? No idea, but likely something to do with recent `flake.nix`'s ld-lib-linking with `<nixpkgs>` marlarky?dpi_scaling_round2
parent
35744f666f
commit
49bedb4912
|
|
@ -33,7 +33,6 @@ Resource list for mucking with DPIs on multiple screens:
|
|||
'''
|
||||
import os
|
||||
|
||||
from pyqtgraph import QtGui
|
||||
from PyQt6 import (
|
||||
QtCore,
|
||||
QtWidgets,
|
||||
|
|
@ -44,6 +43,7 @@ from PyQt6.QtCore import (
|
|||
QSize,
|
||||
QRect,
|
||||
)
|
||||
from pyqtgraph import QtGui
|
||||
|
||||
|
||||
# https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
|
||||
|
|
|
|||
Loading…
Reference in New Issue