Qt::AA_UseHighDpiPixmaps was introduced since Qt 5.1.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-08-21 13:11:14 +03:00
parent 8c6e2e4432
commit 3f4f605253

View File

@ -78,8 +78,10 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv)
#endif // QT_VERSION < QT_VERSION_CHECK(5, 3, 0) #endif // QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)
// Enable support for HiDPI bitmap resources // Enable support for HiDPI bitmap resources
setAttribute(Qt::AA_UseHighDpiPixmaps); setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
connect(this, &QApplication::aboutToQuit, [this]() connect(this, &QApplication::aboutToQuit, [this]()
{ {