Results 1 to 3 of 3

Thread: Problem for slow operations in Qt program

  1. #1
    Join Date
    Jun 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Problem for slow operations in Qt program

    hi,I 'm working on a program and i have some problems about performance of my projet.
    By example, during running of my program, if i want show a widget(to screen) ,it take long time before which widget become visible,or ,i make send a result to user that's make long time too.
    I want ,during this long time , show a dialog which
    is used to give the user an indication of how long an operation is going to take, and to demonstrate that the application has not frozen
    Thanks for advance

  2. #2
    Join Date
    Jun 2011
    Location
    Finland
    Posts
    164
    Thanks
    1
    Thanked 26 Times in 26 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: Problem for slow operations in Qt program

    Use QProgressDialog

  3. #3
    Join Date
    Aug 2008
    Posts
    45
    Thanks
    1
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem for slow operations in Qt program

    Well, first you should do something to make the GUI more responsive. Moving your slow operations to another thread from the main thread should fix that.

Similar Threads

  1. Slow FTP Program using QFtp
    By neveffects in forum Qt Programming
    Replies: 3
    Last Post: 7th January 2011, 06:19
  2. Replies: 3
    Last Post: 28th May 2010, 00:07
  3. Erratic performance of IO operations in Qt4 program
    By jcox23 in forum General Programming
    Replies: 2
    Last Post: 26th January 2010, 17:33
  4. Slow problem QTableView
    By skuda in forum Qt Programming
    Replies: 6
    Last Post: 26th February 2008, 12:19
  5. Replies: 1
    Last Post: 20th January 2006, 12:01

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.