Restart App
i want to restart a qt mobile app.
any ideas how it can be done.
please help
2 replies
Try one of these options:
- from within the app, use QProcess::startDetached to start another instance of the app, then exit (the parent) immediately
- run the app from a kind of wrapper which restarts the app every time it exits, unless it signals somehow that it really wants to exit (e.g. exiting with a certain magic exit code, or touching some known file)
You must log in to post a reply. Not a member yet? Register here!


