We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-07-09 10:37:21 +0200

Component.onDestruction of ApplicationWindow not called?

Hi. In my application, I want to write settings as soon as te application shuts down. According to the Sailfish Application Lifecycle docs, this could be done in Component.onDestruction of the ApplicationWindow.

However it seems to me that Component.onDestruction is never called. My application is based on what comes out of the SailfishOS Qt Quick Application wizard in Qt Creator.

Any idea what could be missing? Or any suggestion how else I could do that in QML?

Thanks, Alessandro

Component.onDestruction of ApplicationWindow not called?

Hi. In my application, I want to write settings as soon as te application shuts down. According to the Sailfish Application Lifecycle docs, this could be done in Component.onDestruction of the ApplicationWindow.

However it seems to me that Component.onDestruction is never called. My application is based on what comes out of the SailfishOS Qt Quick Application wizard in Qt Creator.

Any idea what could be missing? Or any suggestion how else I could do that in QML?

Thanks, Alessandro