Nominate our 2022 Qt Champions!

how to get signal/slot queue current size ?

  • Hi,

    I am connecting with :

        connect(cam_01, &Cam::checkMeta,     checkpic,   &CheckPic::checkingPic);

    and consuming the image in slot.

    How I can count the emitted signals for checking is my slot can catch up signals or somewhere queueud *

  • @RahibeMeryem
    I don't think you can get at that. You're not supposed to do that, or need to do that.
    Also, if your signals/slots are the (default) direct connection (not queued connection), slots are executed immediately from the signal emit(), so I don't think there is a queue to get at anyway(?)....

Log in to reply