diff --git a/src/gui/application.cpp b/src/gui/application.cpp index 012482940..f347020bb 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -112,6 +112,11 @@ Application::Application(int &argc, char **argv) : setWindowIcon( _theme->applicationIcon() ); #if QT_VERSION > QT_VERSION_CHECK(5, 0, 0) setAttribute(Qt::AA_UseHighDpiPixmaps, true); +#endif +#if QT_VERSION > QT_VERSION_CHECK(5, 6, 0) + // this may slightly break some styles until they + // get fixed, but will make dialogs readable. + setAttribute(Qt::AA_EnableHighDpiScaling, true); #endif parseOptions(arguments()); //no need to waste time;