The attached sample app demonstrates a popup menu with bold, italic, and underline menu items. On the menu, each item should display in an appropriate font (i.e., bold, italic, or underline). Also, the supplied key sequences should be displayed alongside the item text for each menu item.
See the Qt 5.9.6.png file to see how this looked in that version of Qt. See the Qt 5.12.1.png file to see that bold displays as bold, but italic and underline do not display in italic or with an underline, respectively. Also note the absence of the key sequences to the right of each item. Both .png files are screenshots from running the sample app as compiled to use their respective Qt versions.
Also note that in Qt 5.9.6, the hotkeys, though displayed, aren't aligned properly (the command key icons should be left-aligned with one another).