[Interest] OpenGL depreceated items
sean.harmer at kdab.com
Wed Jun 10 15:53:36 CEST 2015
Have you tried simply doing:
Qt does not depend upon glu so it's up to you to add it in. It seems Qt used
to include glu.h indirectly via qglwidget.h or similar. Not sure if it's still
there or not but I'd argue it doesn't belong there.
ps I'd advise against using glu in new code (I realise this is existing code
On Wednesday 10 Jun 2015 14:06:49 Berkay Elbir wrote:
> For example, gluquadric type is depreceated. I guess this is a GLU type, I
> do not know maybe some new wrappers are exist in QGLWidget. Actually, I do
> not remember how I used these 5 or 6 years ago. Maybe somebody knows
> something about this issue.
> On Wed, Jun 10, 2015 at 9:13 AM, Giuseppe D'Angelo <dangelog at gmail.com>
> > On Wed, Jun 10, 2015 at 7:27 AM, Berkay Elbir <berkayelbir at gmail.com>
> > wrote:
> > > I have an application that has written with QT 4.6.x. I used
> > > "gluquadric"
> > > type and glunewquadric() for OpenGL with inclueded "#include<QGLWidget>"
> > ,
> > > but these kind of types are depreceated. What should I use instead of
> > these
> > > so my application can work?
> > What types are "deprecated"? GLU types or QGLWidget?
> > --
> > Giuseppe D'Angelo
Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
KDAB (UK) Ltd, a KDAB Group company
Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
Mobile: +44 (0)7545 140604
KDAB - Qt Experts
More information about the Interest