Results 1 to 7 of 7

Thread: Console window?

  1. #1
    Join Date
    May 2009
    Location
    USA
    Posts
    300
    Thanks
    82
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Console window?

    I knew once, but I have forgotten (sorry, senior moment here) and I can't find it again.
    What is it that controls whether the Windows o/s console window shows for debugging?

    I'm building a release, and it is still showing up.

    My pro file has
    CONFIG += release \
    help

  2. #2
    Join Date
    Jan 2008
    Location
    Bengaluru
    Posts
    144
    Thanks
    8
    Thanked 7 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Console window?

    If your subsystem is Console, then console window shows up.

  3. #3
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Console window?

    For showing console window it was -

    CONFIG += console

    may be you can try
    CONFIG -= console for release

  4. #4
    Join Date
    May 2009
    Location
    USA
    Posts
    300
    Thanks
    82
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Console window?

    Thanks for your suggestions, but nothing is working so far. I've tried changing likely looking settings in Projects, but no luck.

  5. #5
    Join Date
    Jan 2008
    Location
    Bengaluru
    Posts
    144
    Thanks
    8
    Thanked 7 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Console window?

    you are sure it is not a QtCoreApplication, right ?

  6. #6
    Join Date
    May 2009
    Location
    USA
    Posts
    300
    Thanks
    82
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Console window?

    Right, I'm sure. QtGui, no QtCore

  7. #7
    Join Date
    May 2009
    Location
    USA
    Posts
    300
    Thanks
    82
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Console window?

    Working now - it was the testlib. Thanks for all of your suggestions.

Similar Threads

  1. Simulating a console window
    By Doug Broadwell in forum Newbie
    Replies: 3
    Last Post: 18th February 2011, 15:30
  2. Replies: 3
    Last Post: 26th March 2010, 21:25
  3. Debugging in MSVS leaves zombie console window
    By T4ng10r in forum Qt Programming
    Replies: 3
    Last Post: 11th March 2010, 09:59
  4. Why there is not console window?
    By HelloDan in forum Qt Programming
    Replies: 2
    Last Post: 8th April 2009, 16:02
  5. qt without console window
    By jh in forum Qt Programming
    Replies: 3
    Last Post: 28th January 2006, 20:01

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.