[Interest] Is it possible to have a thread running in a Qt iOS app when the app is put in background?

Nuno Santos nuno.santos at imaginando.pt
Mon Feb 19 11:54:40 CET 2024


Hi Tor,

Thanks for your reply and additional info.

Has any here in this list made this before with Qt?

Thanks!

Best,

Nuno

> On 19 Feb 2024, at 10:45, Tor Arne Vestbø <Tor.arne.Vestbo at qt.io> wrote:
> 
> Not out of the box.
> 
> You should be able to use https://developer.apple.com/documentation/backgroundtasks?language=objc though.
> 
> Cheers,
> Tor Arne
> 
>> On 19 Feb 2024, at 11:39, Nuno Santos via Interest <interest at qt-project.org> wrote:
>> 
>> Hi,
>> 
>> I have a music making app that allows to export the full song. This is an asynchronous process that can take several minutes and the user can start an export and decide to put the app in background in the mean time. At the time being, if he does this, the app will crash. 
>> 
>> Is it possible to keep the thread running while the app is put in background?
>> 
>> Thanks!
>> 
>> Best,
>> 
>> Nuno
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> https://lists.qt-project.org/listinfo/interest
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240219/4f824e67/attachment.htm>


More information about the Interest mailing list