dfc338613e
Embeddeding a QWindow via QWidget::createWindowContainer() fails to deliver the SurfaceAboutToBeDestroyed event. This breaks any OpenGL or Vulkan based QWindow that releases resources upon this event, and is particularly critical with Vulkan where the only way to do properly ordered swapchain - surface cleanup is via this event. In the non-embedded case close() eventually ends up in an explicit destroy() in QWindow. In the embedded case destroy() only gets called from ~QWindow. This then silently breaks since the subclass' reimplemented event() virtual is not getting called anymore. To remedy the problem, simply add an explicit destroy() to QWindowContainer. Task-number: QTBUG-55166 Change-Id: I1671e8f4d39f6c44e19eca7b9387f55fe3788294 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> |
||
---|---|---|
.. | ||
qaction | ||
qactiongroup | ||
qapplication | ||
qboxlayout | ||
qdesktopwidget | ||
qformlayout | ||
qgridlayout | ||
qlayout | ||
qshortcut | ||
qsizepolicy | ||
qstackedlayout | ||
qtooltip | ||
qwidget | ||
qwidget_window | ||
qwidgetaction | ||
qwidgetmetatype | ||
qwidgetsvariant | ||
qwindowcontainer | ||
kernel.pro |