[Development] [Bug] QOpenGLWidget::grab() not behaving properly

Sergio Martins sergio.martins at kdab.com
Wed Nov 29 17:16:32 CET 2017


On 2017-11-29 16:02, Jose Fernandez Navarro wrote:
> Hello,
> 
> I have a QOpenGLWidget object where I draw
> using both OpenGL and QPainter. When I called
> grab() on the object prior 5.9.2 I would get a seg. fault.
> Now (5.9.2) I can grab the widget's image but
> the QPainter stuff is missing and actually it dissappears
> from the widget until I refresh it again by panning or zooming on it.

Hi,

Can you see if https://codereview.qt-project.org/#/c/197930/ helps ?


Regards,
-- 
SĂ©rgio Martins | sergio.martins at kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts



More information about the Development mailing list