diff --git a/app/main.cpp b/app/main.cpp index d0f3ff2..d1a933b 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -36,6 +36,7 @@ int main(int argc, char *argv[]) // TODO FILIPPO... This should not be hardcoded but handled as a fallback of sort! QQuickStyle::setStyle("Material"); + QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round); // #if defined (Q_OS_LINUX) // setenv("QSG_RENDER_LOOP", "threaded", 0);