Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.9.0
-
Fix Version/s: 5.9.4
-
Component/s: Widgets: Widgets and Dialogs
-
Labels:None
Description
The following lines will crash Qt:
QWidget* w = new QWidget(nullptr);
w->setAttribute(Qt::WA_WindowPropagation);
Crashes with Qt 5.9, but not previous versions. Adding a parent to the widget will eliminate the crash. See attached project.