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?
As far as i know, its only possible using native API.