← Back to team overview

ubuntu-phone team mailing list archive

Re: Running QML functions in parallel thread

 

On Tuesday 16 April 2013 01:01:28 Николай Шатохин wrote:
> Hello.
> 
> In my code I'm creating 16x16 buttons in cycle and this take few seconds.
> While function that creating buttons runs, app freezes. I want to show
> loading animation while this function runs. So, how to run this function in
> parallel thread to avoid freezing?
> 
> Best regards,
> Nick

Creating 16x16 buttons shouldn take a few seconds. Can you paste the code 
(also the button itself). To me it seems the issue is somewhere else, e.g. in 
the way you create the buttons or the buttens themselves are very slow.

Br,
Michael


Follow ups

References