How to make Qt receive input when not in focused?



  • Making a macro program that will play sounds after a delay but I need Qt to check inputs while window is running in background. Is there a way to do that?


  • Qt Champions 2016

    @MavenC
    Perhaps grabbing the keyboard? Note however that this might not work, and also I don't see how you'd be able to dispatch the messages back to their respective receivers if you don't want to process them.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.