From 8a6d63265fe450574defa8e29d230d153c033eda Mon Sep 17 00:00:00 2001 From: Lee Matos Date: Mon, 28 Dec 2015 22:03:38 -0500 Subject: [PATCH] Enable HiDpiPixmaps for Qt5 --- cockatrice/src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cockatrice/src/main.cpp b/cockatrice/src/main.cpp index 10d01bfc..9d91eb72 100644 --- a/cockatrice/src/main.cpp +++ b/cockatrice/src/main.cpp @@ -215,7 +215,9 @@ int main(int argc, char *argv[]) ui.show(); qDebug("main(): ui.show() finished"); - +#if QT_VERSION > 0x050000 + app.setAttribute(Qt::AA_UseHighDpiPixmaps); +#endif app.exec(); }