QPaintEvent Not called even if update() or repaint() is called.

  • Hi,

    Another query regarding paintevent() only,
    Inspite of having update() or repaint(), paintevent() , is not getting called.

    Ant specific reason.?.


  • Qt Champions 2018

    Probably wrong signature... did you try using overload?

  • We are trying to stream live video in our application.
    We draw image on the QWidget's paint event, to trigger this we call repaint()/update() whenever a new image is available.
    This works perfectly fine for smaller widgets.

    It is not working for larger widgets.

    Note: Size of Image received in accordance with QWidget Size.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.