Qt - notifications without tray icon, possible?
UPDATE: it seems this isn't working with recent versions of Qt. A workaround I found to make this work was to, after creating the QSystemTrayIcon:
- Call
show()
- Display the desired message with
showMessage
- Call
hide()
This works OK for me.
Create a QSystemTrayIcon
but never call show()
on it. Then you can use QSystemTrayIcon::showMessage
to display your popup.
Just create popup class and show it somwhere on the desktop with always on top flag. Notification may also be a widget
a little late but you might be interested in this library https://github.com/Snorenotify/Snorenotify/
Snorenotify is a multi platform Qt notification framework. Using a plugin system it is possible to create notifications with many different notification systems on Windows, Unix and Mac.