Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


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.