Qt 6.11 is out! See what's new in the release
blog
[SOLVED]System tray notification
General and Desktop
2
Posts
2
Posters
1.0k
Views
-
Hey, I set up system tray and added notification... But it won't disappear after 3000 msec... Takes much much longer... 15 - 20 sec
Any idea why???
@trayIcon->showMessage("Message", trayNotification , QSystemTrayIcon::MessageIcon::Information, 3000);@
-
Hi,
Depending on your OS, it might be ignoring that timeout value. QSystemTrayIcon::showMessage's documentation gives more details
Hope it helps