[Interest] QGLWidget and OGL version 4.3 functions?

Sean Harmer sean.harmer at kdab.com
Mon Sep 30 12:43:21 CEST 2013


Hi,

On Monday 30 September 2013 09:01:56 Yves Bailly wrote:
> 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.

Yes, the intention is to add a replacement for QGLWidget to the QtWidgets 
module, called QOpenGLWidget. I suspect this will land for Qt 5.3.

Cheers,

Sean
--
Join us in October at Qt Developer Days 2013 - https://devdays.kdab.com

Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions



More information about the Interest mailing list