Unsolved How to run application in background?
-
Hi; I want to run my application in background for desktop and mobile. How can I do that? I know JNI for Android but I am asking: There is a class or namespace in Qt to running in background? Thanks.
-
Hi,
What kind of application do you have in mind ?
-
Hi Ibrahim,
you may want to look into QProcess, its used to start external programs and to communicate with them. (through communication is more complex if its a detached background task ie. QProcess::startDetached.There are meany options for controlling its behavior...
http://doc.qt.io/qt-5/qprocess.html
hope that helps
-
-
A service like in Android and a desktop service are currently quiet different even with Qt to help these are really two different concepts.
What will your service do ?
-
@SGaist I want to learn that concepts. Example is application update own database in background. (Example image to running in background.)
-
Then I'd recommend to take a look at KDAB's Qt on Android Episode 7 article as well as the ones before.