|
|
@ -533,6 +533,9 @@ int main(int argc, char *argv[]) |
|
|
|
// Generate high-dpi pixmaps
|
|
|
|
// Generate high-dpi pixmaps
|
|
|
|
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); |
|
|
|
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#if QT_VERSION >= 0x050600 |
|
|
|
|
|
|
|
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); |
|
|
|
|
|
|
|
#endif |
|
|
|
#ifdef Q_OS_MAC |
|
|
|
#ifdef Q_OS_MAC |
|
|
|
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); |
|
|
|
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|