Suspending a QML app in the background

  • How to suspend a executing application in the background and continue executing after a while in QML code ? say user wants to run some other app and come back to the same app ....

  • To make it even clear...say if i run my app on mobile, user may want to run some other app while the current app will be in suspended mode,till he reactivates it again . could it be done through QML code by putting some Timer ?

  • If you are trying in QtQuick 1.1, you could use to check if application is active or not. Otherwise you could listen for QEvent::ApplicationActivate, QEvent::ApplicationDeActivate in your cpp code and then communicate it to qml objects in your QtQuick app

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.