-
- QT_DEVICE_PIXEL_RATIO
- QT_AUTO_SCREEN_SCALE_FACTOR
- QT_ENABLE_HIGHDPI_SCALING
- QT_SCALE_FACTOR
- QT_SCREEN_SCALE_FACTORS
- QT_SCALE_FACTOR_ROUNDING_POLICY
- QT_DPI_ADJUSTMENT_POLICY
- QT_USE_PHYSICAL_DPI
It's really only this one line:
https://github.com/libyui/libyui/blob/master/libyui-qt/src/YQUI.cc#L158
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);