I am trying to add a shortcut to a menu item in my Qt application. I did this using this code:
ui->menuActionConnect->setShortcut(QKeySequence("Meta+D"));
When I run the application, OSX displays the meta key as the ctrl key (^
instead of ⌘
):
Is there a way to get Qt to display the ⌘
character instead of the ^
character? I have tried replacing Meta
with Cmd
, but this did not work.