Global hotkey in Qt5?
slesa last edited by
isn't it still possible to set a system wide hook to allow global hotkeys?
I am converting the good old launchy program to qt5. But I am failing to install the keyboard event filter on any system (win,lin,mac).
Now I tried to use the QXt lib, but I get "qpa/qplatformnativeinterface.h not found" (qpa is set, though).
Is there a better way to activate a program by a global hotkey?
LeandroA last edited by
Did you get it working?
I'm looking for the same solution.
Folco last edited by Folco
Perhaps you could use that ? http://amin-ahmadi.com/2015/11/14/how-to-use-system-wide-hotkeys-in-your-qt-application/
Sadly, it's something dropped with the end of QXt, and it would be really nice to add a handy way to do that in Qt...