... furthermore, for situations where you simply want to display an action under a regular pull-down menu, you would include the following in your Mac-specific code:
@myAction->setMenuRole(QAction::NoRole);@
If the role is not explicitly defined, the action will not appear in the menu.