Important: Please read the Qt Code of Conduct -

QML receive signals when not visible?

  • New to QML, working on a legacy application. We emit signals from C++ code; and several QML objects respond - sometimes they all respond, and sometimes QML objects don't respond to signals. Wondering why, and how to debug this. Must the object be visible to receive signals? Thanks.

  • Qt Champions 2017

    As long as objects exists you must receive the signals. Either objects do not exist at all or signals are not sent. You can give the objectName to each of the objects in QML & see which objects don't respond.

Log in to reply