PDA

View Full Version : Slow interface



Guilo
3rd February 2010, 18:57
I am using QWebFrame to parse data in my program. So my prog is continuously loading web pages for a minute or two. And it gives me high cpu usage (50~100%). And thus my interface is slow during this process. How could I solve this ?

Thanks

Lykurg
4th February 2010, 08:15
Well, with your provided informations I would say: optimize your parse function or use threads for that. So your application doesn't block.

Guilo
4th February 2010, 17:32
Parsing is instantaneous. If I remove parsing and only load the pages it gets stuck. I will have a look to the threads.

Thanks