Sorry, that was my mistake.
hmi_cfg was a subclass of QDeclarativeView.
I re implemented it as a subclass of QWidget, then I got the QCloseEvent correctly..

Thanks for your help..