Hello,

As far as I searched on the web, I couldn't find a method(excluding using third parties) to catch application crash in a specific widget. For example, when I close the widget, I could catch it in QWidget::closeEvent(...) callback. I wonder is there any method like QWidget::closeEvent(...) or any other way to catch application crash?

Or similarly, is there any way to catch app close if the app is closed from task manager?

Thanks in advance...