diff --git a/snippets/qt_screen_info.py b/snippets/qt_screen_info.py index 4a18d7af..10561c03 100644 --- a/snippets/qt_screen_info.py +++ b/snippets/qt_screen_info.py @@ -47,7 +47,9 @@ from pyqtgraph import QtGui # 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 # must be set before creating the application