Commit e4577577 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Enable highdpi scaling

This is needed for proper scaling on Windows
parent a5ab706a
Pipeline #158414 passed with stage
in 1 minute and 25 seconds
......@@ -340,6 +340,7 @@ int main(int argc, char *argv[])
// Fixes blurry icons with fractional scaling
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QApplication app(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment