diff --git a/gui/main.cpp b/gui/main.cpp index d9420c47d..9dcd90c50 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -41,6 +41,11 @@ static bool CheckArgs(const QStringList &args); int main(int argc, char *argv[]) { + +#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#endif + QApplication app(argc, argv); #if QT_VERSION < 0x050000