Solved Letters on the menu are missing underlines for their shortcuts in Windows port
-
Hi,
I wrote an application with Qt creator in Linux Mint and I ported the application to Windows using:
$ ~/mxe/usr/bin/x86_64-w64-mingw32.static-qmake-qt5
$ makeWhen I run the resulting "exe" on a Windows 10 computer the letters on the menu of the program are missing underlines for their shortcuts. I don't know if this an MXE / MinGW or a Windows problem / I guess it's not really a Qt problem?
Update: Solved
Turning on / off the underline shortcuts is a feature of Windows 10, accessible via the system Settings!
-
@Guerrian
I don't believe anything about how you are making/compiling should be relevant.More important would be ensuring same version of Qt. I would have expected that shortcut accelerators would work on Windows, and Qt is good at ensuring just this sort of thing cross-platform.
Perhaps you could post comparative screenshots so we can see just where these menus are. If you have time, write yourself a tiny program to just show a menu and see how that behaves? If you designed from Qt Creator, verify that the UI definition file with the shortcuts got taken across correctly?
-
@JonB I solved it / edited my question.
-
@Guerrian said in Letters on the menu are missing underlines for their shortcuts in Windows port:
When I run the resulting "exe" on a Windows 10 computer the letters on the menu of the program are missing underlines for their shortcuts. I don't know if this an MXE / MinGW or a Windows problem / I guess it's not really a Qt problem?
Try pressing the
Alt
key. Windows nowadays only shows the shortcuts on keypress.Regards
-
Try pressing the
Alt
key. Windows nowadays only shows the shortcuts on keypress.OMG, really? I think I last looked in XP, I thought accelerators were always underlined??
-
@Guerrian said in Letters on the menu are missing underlines for their shortcuts in Windows port:
Update: Solved
Turning on / off the underline shortcuts is a feature of Windows 10, accessible via the system Settings!
-
@Guerrian It's actually been in Windows since at least Windows 7, but probably located in a different place. For pre-Windows 10 have a look at Ease of Access Center in the Control Panel. There, select the "Make the keyboard easier to use" section and make sure "Underline keyboard shortcuts and access keys" is checked.