Ah I see. Maemo has a platform specific flag to show a spinning wheel on the title bar (Qt::WA_Maemo5ShowProgressIndicator) but thats only useful if your window is not fullscreen. Also I'm not sure if it spins if the QT event loop is stuck like in your case.
One possible hack would be to spawn a helper process (thus a different GUI event loop) and show a message. On Wed, Jan 12, 2011 at 9:26 AM, Pelle Johnsen <[email protected]> wrote: > Thanks for the suggestion, as mentioned I've managed to encapsulate the > 'heavy' QML in a Loader and thus display a static loading screen (an image > an the text 'Loading ...'). > However I want to show an animated spinner, or similar to let the end user > know the app is still alive (ideally I would like to show a progress bar). > The problem is that when the Loader starts loading the rest of the QML it > freezes up the whole ui thread, so it's impossible to refresh the screen > with any progress info or even just run an animation. The QML files are > loaded from a resource file (.RCC) if it makes any difference. > On Wed, Jan 12, 2011 at 6:18 PM, Yuvraaj Kelkar <[email protected]> wrote: >> >> Just a thought, don't know if it will work for you: >> Is it possible for you to begin loading the sub-qml in an Item with >> opacity:0 while you show a Rectangle (opacity:1) with Text? >> Then once you get the signal that the sub-QML is loaded, >> PropertyChanges can switch opacities. >> > > _______________________________________________ > Qt-qml mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-qml > > _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
