QWidget Flickering for frame by frame streaming of video