Results 1 to 4 of 4

Thread: How to pipe all console output to a QLineEdit inside a Qt GUI application.

  1. #1
    Join Date
    Jul 2015
    Posts
    26
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default How to pipe all console output to a QLineEdit inside a Qt GUI application.

    I do not have any program to start for QProcess.
    Last edited by newcfd; 4th August 2015 at 00:00.

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: How to pipe all console output to a QLineEdit inside a Qt GUI application.

    Quote Originally Posted by newcfd View Post
    I do not have any program to start for QProcess.
    Console output from what?
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  3. #3
    Join Date
    Jul 2015
    Posts
    26
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to pipe all console output to a QLineEdit inside a Qt GUI application.

    from cout or error messages from other libraries.

  4. #4
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: How to pipe all console output to a QLineEdit inside a Qt GUI application.

    I'm sorry, I can't help you if you can't write more than a short sentence describing what it is you're trying to accomplish. If you are talking about reading your own program's stdout/stderr (complete guess), then see this old thread: http://www.qtcentre.org/threads/2364...-stdout-stderr
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

Similar Threads

  1. Replies: 2
    Last Post: 18th May 2015, 02:39
  2. Replies: 3
    Last Post: 27th August 2011, 21:44
  3. console output on windows and ubuntu
    By hannesvdc in forum Qt Programming
    Replies: 2
    Last Post: 11th December 2010, 22:43
  4. No output to console
    By Morea in forum Newbie
    Replies: 6
    Last Post: 1st November 2007, 22:51
  5. No console output in Mac OSX using Qt4
    By popoholic in forum Qt Programming
    Replies: 2
    Last Post: 26th September 2006, 01:36

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.