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?nixround2_n_sway_testing
parent
b8fe866826
commit
74fcf8ec25
|
|
@ -32,7 +32,6 @@ Resource list for mucking with DPIs on multiple screens:
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from pyqtgraph import QtGui
|
|
||||||
from PyQt6 import (
|
from PyQt6 import (
|
||||||
QtCore,
|
QtCore,
|
||||||
QtWidgets,
|
QtWidgets,
|
||||||
|
|
@ -43,6 +42,7 @@ from PyQt6.QtCore import (
|
||||||
QSize,
|
QSize,
|
||||||
QRect,
|
QRect,
|
||||||
)
|
)
|
||||||
|
from pyqtgraph import QtGui
|
||||||
|
|
||||||
# Proper high DPI scaling is available in Qt >= 5.6.0. This attibute
|
# Proper high DPI scaling is available in Qt >= 5.6.0. This attibute
|
||||||
# must be set before creating the application
|
# must be set before creating the application
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue