Results 1 to 3 of 3

Thread: Hiding The Command Prompt Window When Using System Calls

  1. #1
    Join Date
    May 2010
    Posts
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Hiding The Command Prompt Window When Using System Calls

    I was just wondering if there was any way that QT could hide the Command Prompt Window when using a system call.

    when i call:

    system("otherProgram.exe");

    a command prompt window flashes up on the screen for second then vanishes is there any way to prevent the command prompt from showing up?

    thanks

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Hiding The Command Prompt Window When Using System Calls

    Did you try to use QProcess?

  3. #3
    Join Date
    May 2010
    Posts
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Hiding The Command Prompt Window When Using System Calls

    That did it thanks...

Similar Threads

  1. Replies: 7
    Last Post: 20th October 2012, 13:44
  2. Qt Command Prompt and Recompiling
    By vbman213 in forum Newbie
    Replies: 1
    Last Post: 6th February 2010, 09:49
  3. Possible to return to command prompt immediately?
    By Pembar in forum Qt Programming
    Replies: 8
    Last Post: 29th June 2009, 21:11
  4. how to avoid command prompt while reunning EXE ?
    By rajeshs in forum Qt Programming
    Replies: 12
    Last Post: 26th March 2008, 08:22
  5. Create a skin for Command Prompt
    By Jh_ in forum Qt Programming
    Replies: 11
    Last Post: 20th March 2007, 09:37

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.