Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Why ampersand sign does not work anymore in Qt-Designer 5.1
sunsina last edited by
I am using Qt 5.1 for designing an interface of my application,
I realised inserting ampersand symbol (&) behind a textfield character of QPushButton object , or QLabel does not work in Q 5.1 which means It does not assign a shortcut to that character and underline it so the shortcut does not get activated, so the QtDesigner just puts a & symbol behind that
character in QPushButton or QLabel text filed.
Even compiling does not convert ampersand to underline shortcut character.
How can I implement this feature in Qt 5.1 Designer environment and having my "Ok" QPushButton look as "-O-k" instead of "&Ok" and get shortcut character activated .