Try action->setMenuRole(QAction::ApplicationSpecificRole); Demo that works for me: https://gist.github.com/tracernz/5b24ee0bd1e3f065ff3712cdf7708f3a Docs: https://doc.qt.io/qt-5/qaction.html#MenuRole-enum
________________________________________ From: Interest <[email protected]> on behalf of Alexander Dyagilev <[email protected]> Sent: Friday, 13 September 2019 9:01 PM To: interestqt-project.org Subject: Re: [Interest] QML and mac system menu Hello, So, there is no way for this? On 9/10/2019 4:10 PM, Alexander Dyagilev wrote: 2) Is there a way to add my custom menu items to the first menu element of my app system menu (which is bold). E.g. "untitled" in my case: [cid:[email protected]] .
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
