Results 1 to 2 of 2

Thread: How can I capture the output of another program

  1. #1
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    692
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How can I capture the output of another program

    Hi to all,
    I would capture the output of an external program ( that print at shell ) in my qt app and print it in my text editor.
    Is possible to do it with Qt?
    Best Regards,
    Franco
    Franco Amato

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: How can I capture the output of another program

    Yes, it is possible in Qt. When you start a external program using QProcess, you can read and write to program using channels. Here read this

Similar Threads

  1. open exe file or output of another program
    By sandya in forum Newbie
    Replies: 1
    Last Post: 7th June 2011, 07:21
  2. Replies: 0
    Last Post: 12th February 2011, 10:03
  3. Replies: 8
    Last Post: 27th September 2010, 14:10
  4. Image capture
    By TheDuncan in forum Newbie
    Replies: 1
    Last Post: 13th April 2010, 08:12
  5. Replies: 3
    Last Post: 5th July 2009, 17:22

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.