Bump the minimum Qt version to 5.2

This commit is contained in:
Hennadii Stepanov
2018-11-14 01:32:51 +02:00
parent 8c59bb85f9
commit 2bc3f114d0
4 changed files with 2 additions and 18 deletions

View File

@@ -570,10 +570,8 @@ int main(int argc, char *argv[])
Q_INIT_RESOURCE(bitcoin_locale);
BitcoinApplication app(*node, argc, argv);
#if QT_VERSION > 0x050100
// Generate high-dpi pixmaps
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
#if QT_VERSION >= 0x050600
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif