[Interest] QGLWidget and OGL version 4.3 functions?

Yves Bailly yves.bailly at sescoi.fr
Mon Sep 30 09:01:56 CEST 2013


Le 29/09/2013 11:21, Sean Harmer a écrit :
> Hi,
>
> On 27/09/2013 07:35, Thomas Meyer wrote:
>> Hi,
>> is it possible to render in a QGLWidget with the OGL 4.3 functions?
>
> Yes but it is now recommended to use QWindow + QOpenGLContext for new
> code as QGLWidget will not see any further development.

Will it be replaced by something just as convenient? QWindow is just not
as easy to use, moreover embedding it in the middle of a GUI full of controls
(in a QMdiSubWindow for example). QWidget::createWindowContainer() is
pretty unnatural.

Regards,

-- 
      /- Yves Bailly - Software developer   -\
      \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."



More information about the Interest mailing list