aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-06-20 10:17:01 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-06-20 10:17:01 +0200
commit2759597bc8617039a7ffa6210f4d49a985a20093 (patch)
treef0e7868f6f1cd8fe52ede29d06d4b44079d72a12 /src
parent59d063d07660d6e8d53ed8aa1eb8b0747ea6767c (diff)
Only pass -lQt5PlatformSupport if >=Qt5.6
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 6218ab6ab0..64b5c83d72 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -533,6 +533,9 @@ int main(int argc, char *argv[])
// Generate high-dpi pixmaps
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
+#if QT_VERSION >= 0x050600
+ QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+#endif
#ifdef Q_OS_MAC
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
#endif