If you want to implement custom close handling via setting the CDockWidget feature CDockWidget::DockWidgetFeature::CustomCloseHandling, you must also set the feature CDockWidget::DockWidgetFeature::DockWidgetDeleteOnClose. Without DockWidgetDeleteOnClose, the signal CDockWidget::closeRequested is not emit'ed.