Unsolved How to capture keyboard press when qt window is not in focus?
-
I want to capture keypress like "Alt+W" when the Qt mainWindow is not in focus, on Windows 7. How can I do it? I remember this could be done in Visual Studio using a separate dll and a keyhook. Any way to do it in Qt?
-
Hi
As far as i know, its only possible using native API.
https://forum.qt.io/topic/34611/solved-sytem-wide-hotkey-shortcut-windows-works-but-locks-window