OverviewFelgo 2 Support (Qt 5) › GlobalKeyForwarder causes Q_ASSERT on key press

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7607


    The bug was introduced with the 2.0.1 release and is quite simple to reproduce. Create a new project with the Empty Felgo 2 Project template. Compile, run, press any key, look at the pretty assert window.


    The GlobalKeyForwarder is reseting the QEvent accepted flag from true (set by Qt) to false.

    Qt 5.3.0 source from the online installer.



    QCoreApplication::sendEvent(item, e);

    the event is forwarded to a QQuickItem.



    void QQuickItemPrivate::deliverKeyEvent(QKeyEvent *e)

    Q_ASSERT(e->isAccepted()); // <– assert because isAccepted is no longer true.



    Felgo Team


    you are right, thanks for reporting! We fixed this bug right away and will make it available with the next update, ETA early next week.

    If you need custom key presses urgently for your project, just send us an email with details which compiler you are using and we’ll send you the fixed library.

    Cheers, Chris

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support