Mac menu bar init has to be repeated for Qt5 after clearing the menu