Igor, I think you could listen to application state changed signal on the app entity and when you receive a pause, you could call app->quit().
http://doc.qt.io/qt-5/qguiapplication.html#applicationStateChanged <http://doc.qt.io/qt-5/qguiapplication.html#applicationStateChanged> This is possibly the most straightforward way. Regards, Nuno > On 26 Jan 2015, at 06:24, Igor Mironchik <igor.mironc...@gmail.com> wrote: > > Hi. > > How to completely shutdown Qt app on Adnroid when "Home" button pressed? > > I want to say when user presses "Home" button app will continue to work in > background, i.e. the app shown in the list of apps when long touch "Home" > button. > > How to prevent it and completely shutdown Qt app? > > Is it possible? > > -- > Best Regards, > Igor Mironchik. > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest