From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.

Dynamically adding a Menu to a MenuBar

  • Hello everyone.

    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.

Log in to reply