mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-13 06:34:32 -04:00
Cater for HiDPI display, ticket #257, props bitaround
This commit is contained in:
parent
69876619dd
commit
d00a87c79a
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
Q_INIT_RESOURCE(resources);
|
||||
|
||||
#if QT_VERSION >= 0x50600
|
||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#endif
|
||||
#if QT_VERSION >= 0x50400
|
||||
/* Suppresses "Qt WebEngine seems to be initialized from a plugin" warning */
|
||||
QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue