Closed Shatur closed 6 years ago
I tried it on a Windows Machine with the exact same setup as yours, and I can register shortcuts as expected. Maybe something is broken on your system or in your application.
Please try compiling and running the HotkeyTest
project and check if that works.
Hmm ... It's weird, but I just now tested my code and "HotkeyTest" on another Windows machine with the same setup and everything works. I think that something has broken in my system. Excuse for troubling!
@Shatur95 I have faced with the same issue on another windows machine. The root of the problem is the same as in #17. Try to update the lib to the latest version and everything should work ok.
@semanser, thank you, I'll test it soon :)
@Shatur95 update: on qpm this package is still didn't updated, so if you want to try it just clone from the github but not from qpm.
@semanser, yes, I always use GitHub version!
@semanser, thanks, your commit helped :)
I used this code from readme:
And got the following:
Any other key sequence don't work too.
I also tried
HotkeyTest
and got this errors on start:But when I assign key sequence in app menu - it works. Is this bug or I doing something wrong?
Windows 10 x64 Qt 5.10 MinGW 5.3.0 32bit
P.S. On ArchLinux the same code works properly.