QCoreApplication::sendEvent does not work with QML
I use QCoreApplication::sendEvent (QObject * receiver, QEvent * event) to send KeyEvent to QML TextInput.
For sone reason TextInput does not catch the event.
Anyone know why ?
9 replies
How about sending a mouse event? e.g. https://gist.github.com/4415306
At least with Qt5, one working solution seemingly is to use receiver->window()->sendEvent(),
as depicted at https://bugreports.qt-project.org/browse/QTBUG-15496 .
You must log in to post a reply. Not a member yet? Register here!

