The class reference for QSystemTrayIcon says:
So if you are coding for an other platform, you are unlucky. On X11, you should get a ToolTip event.Only on X11, when a tooltip is requested, the QSystemTrayIcon receives a QHelpEvent of type QEvent::ToolTip. Additionally, the QSystemTrayIcon receives wheel events of type QEvent::Wheel. These are not supported on any other platform.
An other approach would be to set the toolTip whenever the current song changes or to update the toolTip regularly using a QTimer.
Bookmarks