Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Dynamically adding a Menu to a MenuBar
Smatcher last edited by Smatcher
I'm having trouble trying to dynamically populate a MenuBar in QML.
I understand how to use the Instantiator to dynamically add content to a Menu but this doesn't apply to MenuBar. MenuBar only accepts Menu Items as inner elements and i can't find a way to insert something in its menus property.
The objective is to drive the MenuBar of my application with a model so that the user or some application plugin can add a new menu to the menubar.