Important: Please read the Qt Code of Conduct -

[SOLVED]System tray notification

  • 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);@

  • Lifetime Qt Champion


    Depending on your OS, it might be ignoring that timeout value. QSystemTrayIcon::showMessage's documentation gives more details

    Hope it helps

Log in to reply