Uhh ok, apparently this osenv var is just idiotic?

See https://www.pikers.dev/pikers/piker/issues/50#issuecomment-1041 for
deatz.
Tyler Goodlet 2025-12-19 19:11:11 -05:00
parent 24f5cbd4d6
commit 4791c878f7
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ from pyqtgraph import QtGui
# https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference # https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
os.environ['QT_USE_PHYSICAL_DPI'] = '1' os.environ['QT_USE_PHYSICAL_DPI'] = '0'
# TODO? i don't get how this is useful, when i set it it seems
# the physical-dpi get's computed incorrectly??
# 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