Skip to content
Advertisement

Tag: qml

Unable to access menu item in QML through shortcuts

This is the code with QtQuick.Controls.12.2. It displays properly but when I press Ctrl nothing happens. I expect the print statement to execute. What am I doing wrong here? Answer Indeed it looks like it’s not possible to use a single modifier (Ctrl/Shift/…) as a shortcut value. (See this similar question) Will work: Will not work: A possible workaround for

Advertisement