To change the order of menu bar selections in Qt Designer 5:
- Open the form that contains the menu bar in Qt Designer 5.
- Select the menu bar widget by clicking on it.
- Right-click on the menu bar and select "Edit Menu" from the context menu.
- This will open the Menu Editor window.
- With the Menu Editor window open, click and drag the menu bar items in the order you want them to appear.
- Once you have rearranged the items in the desired order, click the "OK" button to close the Menu Editor window.
- Save your changes to the form.
The menu bar items will now appear in the order you have set in the Menu Editor window.