Results 1 to 2 of 2

Thread: Console Window flashes when I start my Qt program

  1. #1
    Join Date
    Oct 2011
    Location
    Dover, NH
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Console Window flashes when I start my Qt program

    Hey All,
    So I have a project that's setup as a win32 console application ( also tried straight win32 app ). When the program starts it creates a trayicon and does a bunch of other backend things. However, the real issue is when I start this for a split second a console window will flash and then go away. Is there any way to get rid of this as it looks really ugly... I've played around with the linker settings by setting the entrypoint to "mainCRTsetup" but alas-nothing... Anyone experience this, and if so how they got rid of it?

    Thanks,

  2. #2
    Join Date
    Oct 2011
    Location
    Dover, NH
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Console Window flashes when I start my Qt program

    Solved: Using regular main and changing subsystem to windows was working. Code that I didnt see in my project was actually showing and hiding a window causing the flash.

Similar Threads

  1. Run program from console
    By tczaude in forum Qt Programming
    Replies: 2
    Last Post: 6th November 2011, 11:04
  2. Replies: 0
    Last Post: 4th October 2010, 21:12
  3. running external console program by gui program
    By alireza.mixedreality in forum Qt Programming
    Replies: 4
    Last Post: 24th April 2010, 18:05
  4. QProcess start a console program
    By Shawn in forum Qt Programming
    Replies: 2
    Last Post: 9th November 2007, 12:38
  5. Console Program Problem
    By ball in forum Qt Programming
    Replies: 9
    Last Post: 28th May 2006, 09:05

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.