Qt::AA_UseHighDpiPixmaps was introduced since Qt 5.1.
--HG-- branch : develop
This commit is contained in:
parent
8c6e2e4432
commit
3f4f605253
|
@ -78,8 +78,10 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv)
|
|||
|
||||
#endif // QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)
|
||||
// Enable support for HiDPI bitmap resources
|
||||
setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
#endif
|
||||
|
||||
connect(this, &QApplication::aboutToQuit, [this]()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user