1

I have the exact same problem of this post: I want to make a software which, once executed, will monitor for a specific key event (press of F12) and will do something (do repeated mouse clicks: an auto clicker). But I'ld like, if possible, to use Qt himself to do the trick instead of calling Windows's functions (especially because it may well be eventually used in Linux, so a cross-platform solution is desired)

Well my problem isn't anything new including for Qt users as the link above shows. Moreover, a decent answer was already posted in this post, but it involves the use of Qt eXTension in a Qt 4 context, and that is outdated. In fact, it's so outdated that when I tried to access the eXTension link, my Chrome browser warned me of being an insecure website! So what I would like to know specifically is if there is any Qt 5, specifically, solution to this problem, given that eXTension is out of question, or if I'll have to do a OS key hook after all. A Qt5 free library will also be acceptable.

eyllanesc
  • 235,170
  • 19
  • 170
  • 241
Momergil
  • 2,213
  • 5
  • 29
  • 59

0 Answers0