How to send keystrokes to Non-Qt applications

  • I would like to send key strokes to applications running in my operating system. Using windows API, I can easily do that by calling the function keybd_event. Is there any equivalent in the Qt framework.


  • Nope. This falls outside the scope of Qt.

  • Out of Qt's scope? ;-)
    External (real?) world

    Joke apart: By searching the web for a way to send keystrokes outside a Qt application in a cross-platform manner, it seems that's a really needed thing. That would be really helpful if Qt provides it.

Log in to reply

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