diff --git a/src/app/main.cpp b/src/app/main.cpp index 994e37f1a8f..bb16db908f3 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -312,6 +312,11 @@ int main(int argc, char **argv) #if QT_VERSION >= 0x050100 app.setAttribute(Qt::AA_UseHighDpiPixmaps); +# if defined(Q_OS_WIN) || defined(Q_OS_MAC) + // Prevent native windows from being created for the sibling widgets of the welcome screen. + // Causes flicker on Linux, though. + app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings); +# endif #endif // Manually determine -settingspath command line option