Commit 4e1212f8 authored by Friedemann Kleint's avatar Friedemann Kleint

Set Qt::AA_DontCreateNativeWidgetSiblings on Windows/Mac.

Prevent creation of native windows for subwidgets, caused
by the welcome screen.

Task-number: QTCREATORBUG-10251

Change-Id: I2b475e963c5dfd1485f0876817c88d80fc2abd25
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 977a70b3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment