I'm writing a C++ Qt desktop appliaction.
Is it possible to show Skype=like notifcations in Qt, without creating a tray icon?
All notification reference I found require a tray icon, which I do not want to create.
The notifications should show when the application is opened and when it is minimized.
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:
show()
showMessage
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With