In my project I am trying to support Right To Left languages. Everything went well by setting the direction RightToLeft using API setLayoutDirection().
For System Tray Icon context menu, there was not direct way to set the RTL layout. We tried by setting the style property with QproxyStyle sub-classing and overriding drawcontrol method. This worked for windows. But for mac this is not working. We observed that, for mac drawcontrol method is not getting called with ControlElement of type CE_MenuItem, where we try to change the layout direction.

If we try to show the Context menu by calling following API, it displays the a new popup(context) menu at top left corner of the screen with RTL layout set properly.

Can someone help me to set the layout direction to RightToLeft for SystemTrayIcon Context Menu in Mac OSX.