As I implemented my first QDSService, I thought the application would last forever after the first request for it. It was somehow true, because that single instance was staying alive for how many requests I did.
However, I made a second service, a lot simpler, and the application was created/destroyed at each service solicitation.

It turns out that the line:

QCoreApplication:: processEvents();

was preventing the application to be destroyed (i.e. no destructor called).
Since this line is needed to help synchronizing QHttp response, what exactly is wrong? The service actually responds correctly.. it just not get destroyed after that.

By the way, since I have two services that are so often used, I'd like to make them startup as soon as the mobile loads. I think, with this, it will only get instantiated once. How can I achieve that?
I tried adding the application name in tasks.cfg, but the application didn't get instantiated.

Thanks in advance.