Results 1 to 2 of 2

Thread: Console progress display

  1. #1
    Join Date
    Dec 2011
    Location
    Living in Spain 100km North of Valencia
    Posts
    13
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Console progress display

    Sirs
    I am working on a project to convert wav files to mp3's using lame.
    I note that lame's output on the console window displays information in the same place on the screen and also a 'running' progress display.
    Two questions:
    1. How does this console display work?
    2. Can I 'capture' the progress and display it as a progress bar or changing number graphically in my program?
    Thank you
    Graham

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Console progress display

    1. Take Lame sources and see how it does.
    2. Yes, You can capture console output from process. Read about class QProcess.

Similar Threads

  1. How to display time in Progress Bar?
    By Gokulnathvc in forum Newbie
    Replies: 8
    Last Post: 12th August 2011, 11:56
  2. How to display progress bar?
    By qutron in forum Newbie
    Replies: 3
    Last Post: 17th May 2011, 16:10
  3. Replies: 1
    Last Post: 5th April 2011, 23:23
  4. Replies: 4
    Last Post: 11th March 2008, 11:44
  5. Display progress on another thread
    By radu_d in forum Qt Programming
    Replies: 1
    Last Post: 16th October 2007, 08:02

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.