[Qt-interest] optionally hide application icon in taskbar

Constantin Makshin cmakshin at gmail.com
Mon Aug 16 10:53:02 CEST 2010


AFAIK, QApplication doesn't create any icons on the taskbar. [Usually] taskbar items belong to top-level widgets.

On Friday 06 August 2010 14:43:44 Serge wrote:
> Hello,
> 
> my application when launched, checks, is it located in needed folder on 
> disk. If it is in wrong folder, it copies itself to the needed location 
> and launches new exemplar of itself from new location. First exemplar is 
> closing.
> 
> In taskbar appears first icon. Then appears second icon and for some 
> period of time there are 2 icons in taskbar. Then first icon disappears. 
> But sometimes it is not hiding on Windows7. Is there are a way to tell 
> the application not to show icon in taskbar before QApplication object 
> is constructed? So that first exemplar would not display icon in taskbar 
> at all (it does dot create QApplication).
> 
> --
> Thank you!



More information about the Qt-interest-old mailing list