From d9d1ebd36be6314f28377bfb52c8a6dc65aae7d3 2018-01-19 21:52:17 From: Alexis Jeandet Date: 2018-01-19 21:52:17 Subject: [PATCH] Made SciQLOP more hidpi friendly Set Qt::AA_EnableHighDpiScaling, http://doc.qt.io/qt-5/highdpi.html. Signed-off-by: Alexis Jeandet --- diff --git a/app/src/Main.cpp b/app/src/Main.cpp index 1e3e10c..b3c8c10 100644 --- a/app/src/Main.cpp +++ b/app/src/Main.cpp @@ -53,6 +53,8 @@ int main(int argc, char *argv[]) SqpApplication::setOrganizationDomain("lpp.fr"); SqpApplication::setApplicationName("SciQLop"); + QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + SqpApplication a{argc, argv}; MainWindow w;