Results 1 to 3 of 3

Thread: Slow interface

  1. #1
    Join Date
    Dec 2009
    Posts
    41
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Question Slow interface

    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
    Last edited by Guilo; 3rd February 2010 at 21:40.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Slow interface

    Well, with your provided informations I would say: optimize your parse function or use threads for that. So your application doesn't block.

  3. #3
    Join Date
    Dec 2009
    Posts
    41
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Slow interface

    Parsing is instantaneous. If I remove parsing and only load the pages it gets stuck. I will have a look to the threads.

    Thanks
    Last edited by Guilo; 4th February 2010 at 17:37.

Similar Threads

  1. QWebFrame evaluateJavaScript
    By bunjee in forum Qt Programming
    Replies: 2
    Last Post: 2nd September 2009, 07:55
  2. QWebFrame scroll down to the max.
    By bunjee in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2009, 22:55
  3. password caching method
    By ramazangirgin in forum Qt Programming
    Replies: 2
    Last Post: 30th June 2009, 09:20
  4. QPixmap caching?
    By gfunk in forum Qt Programming
    Replies: 3
    Last Post: 11th August 2006, 22:46
  5. Caching QAbstractProxyModel dilemma
    By Alessandro in forum Qt Programming
    Replies: 2
    Last Post: 11th April 2006, 19:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.