qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0");
qputenv("QT_SCALE_FACTOR", "1.0");
qputenv("QT_ENABLE_HIGHDPI_SCALING", "0");
QApplication app(argc, argv);
app.setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round);
app.setStyle("fusion");
The font looks fine but the UI needs to aumatically scale based on the font size...
Using:
The font looks fine but the UI needs to aumatically scale based on the font size...