Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QSystemTrayIcon Message on MacOS without Buttons
-
Hello,
after upgrade to 5.9.1 the tray icon message under MacOS has two Buttons, Close and Show. With this the message will not hide after timeout. Is there a second option for this?
I use
trayIcon->showMessage("Hello World",QSystemTrayIcon::Information,5000);
-
Hi,
What was the previous version you used ?
-
@SGaist Previous was 5.9.0
-
In plist.info the Key NSUserNotificationAlertStyle was set to alert. Modifying value to banner or remove has resolved the problem. Qt works fine :)
Sorry and thanks for listen.
-
Glad you found out and thanks for sharing !
Just to be sure, was it a value you modfied yourself in your
Info.plist
file ?
-
@SGaist Yes, I had taken some values for plist.info from an old XCode project. If you sign the Applicationbundle, this value will be active, otherwise not.
-
Good to know, thanks !