diff --git a/main_x11.cpp b/main_x11.cpp index 2c137431b5..b2139e52e3 100644 --- a/main_x11.cpp +++ b/main_x11.cpp @@ -269,6 +269,9 @@ KWIN_EXPORT int kdemain(int argc, char * argv[]) setenv("QT_QPA_PLATFORM", "xcb", true); qunsetenv("QT_DEVICE_PIXEL_RATIO"); +#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) + QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling); +#endif KWin::ApplicationX11 a(argc, argv); a.setupTranslator();