Results 1 to 3 of 3

Thread: QProcess extremely slow on Windows?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QProcess extremely slow on Windows?

    You can try to increase the buffer in a platform dependent way (it's a system buffer) in QProcess::setupChildProcess(). But you might just try reading the data faster. How did you organise the reading process?

  2. #2
    Join Date
    Mar 2007
    Posts
    58
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 2 Times in 2 Posts

    Default Re: QProcess extremely slow on Windows?

    I've just simply connect the readyReadStdout and readyReadStderr signals to a function which read the data with readStdout(), and then processes it.

    But as I said, just simply calling readStdout() (even without storing the result) makes the external process to slow down.

    In Qt 4, it's similar, I connect the readyReadStandardOutput signal and read the data with readAllStandardOutput().

Similar Threads

  1. need help for QProcess under windows
    By patcito in forum Qt Programming
    Replies: 4
    Last Post: 26th May 2006, 19:54
  2. QTextEdit extremely slow with links
    By elahav in forum Qt Programming
    Replies: 2
    Last Post: 25th May 2006, 18:00
  3. QProcess +standard error + windows
    By antonio.r.tome in forum Qt Programming
    Replies: 0
    Last Post: 18th April 2006, 14:58
  4. Qprocess never end in MS windows
    By antonio.r.tome in forum Qt Programming
    Replies: 12
    Last Post: 23rd February 2006, 12:35
  5. QProcess problem with windows batch file
    By bood in forum Qt Programming
    Replies: 11
    Last Post: 6th January 2006, 08:08

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.