[Qt-interest] optionally hide application icon in taskbar
Ian Clark
mrrooster at gmail.com
Mon Aug 16 12:34:18 CEST 2010
On 16 August 2010 09:53, Constantin Makshin <cmakshin at gmail.com> wrote:
> AFAIK, QApplication doesn't create any icons on the taskbar. [Usually] taskbar items belong to top-level widgets.
>
I suspect the problem is on Windows 7, when you launch a program an
icon is created on the taskbar which then becomes 'active' for a short
period of time, to allow the application time to load and open a
window.
However, because the application in question here spawns a sub process
from a different location, this sub process doesn't map to the taskbar
icon, and is therefore a new icon is created.
The original icon should disappear unless that has been pinned to the taskbar.
I suspect there's little that can be done to avoid this on Windows 7.
Cheers,
Ian
More information about the Qt-interest-old
mailing list