Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to send keystrokes to Non-Qt applications
lossio last edited by
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.
andre last edited by
Nope. This falls outside the scope of Qt.
DerekDomino last edited by
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.