Results 1 to 2 of 2

Thread: Is it possible to prevent closure of the standard out terminal from killing our app?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Apr 2010
    Posts
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Is it possible to prevent closure of the standard out terminal from killing our a

    could you just get away with not having a console application? In other words, change the project file to remove console.
    Qt Code:
    1. CONFIG -= console
    2. CONFIG += windows
    To copy to clipboard, switch view to plain text mode 
    if you need the output, you could redirect with ios::rdbuf

  2. The following user says thank you to Wysodava for this useful post:

    philw (4th May 2014)

Similar Threads

  1. Replies: 3
    Last Post: 22nd August 2012, 09:19
  2. killing Qt timer.
    By jaxrpc in forum Newbie
    Replies: 5
    Last Post: 1st June 2010, 00:21
  3. SQL connection closure problem.
    By cbarmpar in forum Qt Programming
    Replies: 1
    Last Post: 8th September 2008, 08:42
  4. Replies: 2
    Last Post: 2nd June 2008, 08:45
  5. Killing a Window in its constructor
    By hardgeus in forum Qt Programming
    Replies: 6
    Last Post: 15th December 2006, 18:31

Tags for this Thread

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.