Skip to content

Instantly share code, notes, and snippets.

@mseeley

mseeley/_.md Secret

Last active August 5, 2019 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mseeley/128f18f91e4499735563882118b54ac7 to your computer and use it in GitHub Desktop.
Save mseeley/128f18f91e4499735563882118b54ac7 to your computer and use it in GitHub Desktop.

Removed: QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

Added: QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);

Added: QCoreApplication::setAttribute(Qt::AA_DontUseNativeDialogs);

Removed: QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);

Added: QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);

Added: QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);

Added: QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);

Tried disabling all widget effects, I don't think these apply to the web view

QApplication::setDesktopSettingsAware(false);
QApplication::setEffectEnabled(Qt::UI_AnimateMenu, false);
QApplication::setEffectEnabled(Qt::UI_FadeMenu, false);
QApplication::setEffectEnabled(Qt::UI_AnimateCombo, false);
QApplication::setEffectEnabled(Qt::UI_AnimateTooltip, false);
QApplication::setEffectEnabled(Qt::UI_FadeTooltip, false);
QApplication::setEffectEnabled(Qt::UI_AnimateToolBox, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment