[Interest] QSystemTrayIcon under OS X
Bob Hood
bhood2 at comcast.net
Tue Jan 26 23:18:01 CET 2016
Hey, guys.
I have a small "helper" Qt application that just adds an icon to the Windows
task tray, and manages the life cycle of a process intended to run in the
background. This "helper" is just a convenient interface for the user. It
works fine under Windows. Appears in the task tray, provides a context menu,
has no main window or other presence on the desktop.
This same code under OS X shows the icon in the OS X equivalent of the task
try along with the context menu. However, it also shows an entry in the
launcher at the bottom, and provides a second "standard" menu with "standard"
menu options (i.e., options I did not create).
Whats the best way to hide these unneeded and unwanted extra items (launcher
presence and system menu) so the behavior is consistent between the platforms?
Thanks.
More information about the Interest
mailing list