Results 1 to 5 of 5

Thread: Hide the windows shell

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

    Default Hide the windows shell

    Hi to all,
    I'm following a QT tutorial. I write code under windows using Visual studio 2005.
    When I run the program that I compile, the windows shell appears. How can I hide it?
    If I use QT integrator this doesn't happen but I don't want use it to learn from scratch.

    How can I hide the command line?

    Best Regards,
    Franco
    Franco Amato

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Hide the windows shell

    Remove the console subsystem from your project's VS configuration or remove "CONFIG+=console" entry from the project file in case you are using qmake.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    Default Re: Hide the windows shell

    Quote Originally Posted by wysota View Post
    Remove the console subsystem from your project's VS configuration or remove "CONFIG+=console" entry from the project file in case you are using qmake.
    Hi thank you very much.
    No I'm not using qmake, so how can I remove the console subsystem?
    Thank you in advance.

    Best Regatds,
    Franco
    Franco Amato

  4. #4
    Join Date
    Aug 2009
    Posts
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Hide the windows shell

    Project->Properties->Configuration Properties->Linker->System->SubSystem

    Try

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

    Default Re: Hide the windows shell

    Quote Originally Posted by alpinista View Post
    Project->Properties->Configuration Properties->Linker->System->SubSystem

    Try
    It works.
    Thank you.

    Franco
    Franco Amato

Similar Threads

  1. Modal dialog should not get hide behind windows task bar
    By sanjayshelke in forum Qt Programming
    Replies: 0
    Last Post: 11th September 2009, 16:08
  2. Replies: 5
    Last Post: 15th January 2009, 09:03
  3. Can you hide the titlebar for a Qwidget in Windows?
    By sgmurphy19 in forum Qt Programming
    Replies: 2
    Last Post: 11th February 2008, 21:28
  4. Windows shell Context
    By ramazangirgin in forum Newbie
    Replies: 1
    Last Post: 18th July 2007, 11:58
  5. Replies: 6
    Last Post: 18th August 2006, 17:50

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.