Results 1 to 5 of 5

Thread: asynchronous file copy

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2009
    Posts
    66
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: asynchronous file copy

    Hi nikhilqt,

    I certainly thing your suggestion is the way to go, although i'm now thinking the bottleneck in my app may be where i sporn out to an external process to extract some files, before the copy. Doing some tests on my code to confirm this, and then i'll have to do a similar thing with that.

    regards,

    David

  2. #2
    Join Date
    Jun 2009
    Posts
    66
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Smile Re: asynchronous file copy

    I realised that the GUI freeze was caused by copying a large number of small files in serial, and not because of copying 1 large file. Therefore after copying each small file, I call QApplication:rocessEvents(), to process any events in the queue. This improved the app's responsiveness.

    Now now i'm checking my app for other occurances of this.

    cheers for everyones help.

    David

Similar Threads

  1. Copy a log file
    By fortyhideout12 in forum Qt Programming
    Replies: 2
    Last Post: 15th August 2009, 08:05
  2. Copy a File with QT
    By undercover in forum Newbie
    Replies: 3
    Last Post: 13th February 2009, 16:33
  3. copy XML file
    By mattia in forum Newbie
    Replies: 1
    Last Post: 8th February 2008, 13:30
  4. Copy a file?
    By whitefurrows in forum Qt Programming
    Replies: 2
    Last Post: 27th July 2007, 21:05
  5. file copy in Qt 3.3.4 ?
    By npc in forum Newbie
    Replies: 6
    Last Post: 31st March 2006, 14:43

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.