[Interest] Sample Appdelegate insertion for QtQuick + iOS

Gustavsen Richard Richard.Gustavsen at digia.com
Fri Mar 28 15:52:14 CET 2014


We currently don't support background processing on iOS. For saving and restoring you can use http://qt-project.org/doc/qt-5/qguiapplication.html#applicationState

The only way I can think of to use your own application delegate would be start off with a native Xcode project, and link in Qt as a third-party lib (an example is here: https://github.com/richardmg/HybridQtIosApp). But that might be much more cumbersome than your current solution, if that already works.

-Richard
________________________________
Fra: interest-bounces+richard.gustavsen=digia.com at qt-project.org [interest-bounces+richard.gustavsen=digia.com at qt-project.org] på vegne av Derek Cole [derek.cole at gmail.com]
Sendt: 27. mars 2014 15:32
To: interest at qt-project.org
Emne: [Interest] Sample Appdelegate insertion for QtQuick + iOS

________________________________
From: Derek Cole<mailto:derek.cole at gmail.com>
Sent: 3/27/2014 10:03 AM
To: qt-creator at qt-project.org<mailto:qt-creator at qt-project.org>
Subject: Sample Appdelegate insertion for QtQuick + iOS

Hello everyone.

I have attempted to make a sample project that overrides the AppDelegate in a QtQuick iOS project. This should all you to do things like use the BackgroundFetch modes and such that you would do in an xcode project. I couldn't find a way to force Qt to link my own AppDelegate, and it is not created for you as part of the xcodeproject.

https://github.com/colede/qt-app-delegate

I'd appreciate any feedback, if you think this is a worthwhile effort, or if I'm doing it totally wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140328/9f2a51e2/attachment.html>


More information about the Interest mailing list