Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

qt5 QMenuBar in QMainWindow does not respond properly to touch on Windows 8

$
0
0
I just moved my application from Qt 4.4 to Qt 5.0. On a touch tablet (Samsung Series 7) running Windows 8, using Qt 4.4, I am able to operate the menubar (QMenuBar) in my main window (QMainWindow) via touch without any issues. However, after moving to Qt 5.0, using touch to operate the menu is a very frustrating experience. Sub-menus do not stay open unless doing a long-press. Sometimes the sub-menus simply close after pressing a menu item without firing the expected actions. Sometimes the menu item actions fire. A search of the forum doesn’t appear to show anyone else with similar issues. Is there a property or method I should set/call to make the menu work with touch (as it does with Qt 4.4)?

Viewing all articles
Browse latest Browse all 18427

Trending Articles