Qt 6.11 is out! See what's new in the release
blog
QShortcut with QWindow not working
-
I just tried to hook up a couple of QShortcuts in Qt 6.4.2.
It works fine if i connect them to my QMainWindow (which is a QWidget as far as I can tell).
But if I spawn a QWindow and hook them up with that as parent, None of my shortcuts are activated.Does anyone have an idea why this doesn't work?
The docs explicitly mention QWindow.