Enable HiDpiPixmaps for Qt5
This commit is contained in:
parent
c917a6c272
commit
8a6d63265f
1 changed files with 3 additions and 1 deletions
|
@ -215,7 +215,9 @@ int main(int argc, char *argv[])
|
|||
|
||||
ui.show();
|
||||
qDebug("main(): ui.show() finished");
|
||||
|
||||
#if QT_VERSION > 0x050000
|
||||
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
#endif
|
||||
app.exec();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue