Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 3 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded