Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to capture keyboard press when qt window is not in focus?
Synny last edited by
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?
As far as i know, its only possible using native API.