UPDATE : this does not seem to work with the latest versions of Qt. The workaround I found for this work was to, after creating the QSystemTrayIcon:
- Call
show() - Display the desired message using
showMessage - Call
hide()
This works fine for me.
Create a QSystemTrayIcon , but don't call show() on it. Then you can use QSystemTrayIcon::showMessage to display your popup.
source share