diff --git a/src/main.cpp b/src/main.cpp index cf81a5b8..51408629 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -130,6 +130,8 @@ int main(int argc, char *argv[]) // Set openGL version. // Or set environment QT_OPENGL to "angle/desktop/software". // QCoreApplication::setAttribute(Qt::AA_UseOpenGLES, true); + QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv);