Have you tried simply doing:

include <GL/glu.h>

?

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.

Cheers,

Sean

ps I'd advise against using glu in new code (I realise this is existing code 
though).

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 <dange...@gmail.com>
> 
> wrote:
> > On Wed, Jun 10, 2015 at 7:27 AM, Berkay Elbir <berkayel...@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.har...@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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to