Enable HiDPI pixmaps to fix icon scaling for HiDPI displays
This commit is contained in:
parent
fde43c993e
commit
a55fa04353
@ -30,6 +30,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
|
||||
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
#endif
|
||||
|
||||
// initialize Qt
|
||||
|
Loading…
Reference in New Issue
Block a user