Results 1 to 2 of 2

Thread: Qprocess and QProgressBar !!

  1. #1
    Join Date
    Jun 2012
    Posts
    173
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    48
    Thanked 2 Times in 2 Posts

    Default Qprocess and QProgressBar !!

    I' am running an application using QProcess, and receiving the out put of this application.
    But after a while the application stop sending any output and keep running for long time, which is fine as its what suppose to do.

    What i want is, to connect the Qprocess with a QprogressBar to show the progress of the application.

    Is there anyway to know how along the application will last using Qprocess ??? or who have an idea of how should i do this.

    Thank you so much !!

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: Qprocess and QProgressBar !!

    no, if the process doesn't know how long it will take, how is QProcess supposed to know? You have to modify the application run by qprocess if it does not already give this info.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. How to use a QProgressbar
    By Niamita in forum Qt Programming
    Replies: 5
    Last Post: 16th March 2012, 12:05
  2. QProgressBar with QProcess
    By Alir3z4 in forum Qt Programming
    Replies: 0
    Last Post: 11th November 2011, 08:44
  3. Replies: 0
    Last Post: 26th August 2010, 10:44
  4. Using QProgressBar
    By gutiory in forum Qt Programming
    Replies: 6
    Last Post: 5th May 2010, 06:59
  5. QProgressBar & 200%
    By Dmitry in forum Qt Programming
    Replies: 2
    Last Post: 20th January 2006, 11:33

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.