On Friday, 2012-08-03, arnaud but wrote:
> it's not a problem in Qt !
> 
> this function it's not declared in <GL/gl.h> so the code can not be the
> same on windows that on linux by default.

Not sure if this is related at all but this [1] seems to intend to make 
platform difference regarding OpenGL headers less problematic.

Cheers,
Kevin

[1] https://codereview.qt-project.org/#change,28334

> 
> maybe i'm wrong ?
> 
> >> So we are forced to do something like this in kde's phonon code :
> >> 
> >> QGLContext *glContext = const_cast<QGLContext*>
> >> (QGLContext::currentContext());
> >> QGLFunctions *fctgl= new QGLFunctions(glContext);
> >> 
> >> fctgl->glActiveTexture (...);
> >> 
> >> to replace a simple :
> >> 
> >> glActiveTexture (...);
> > 
> > After some investigations is maybe a problem with Qt on
> > windows(msvc2010) because an include to <QtOpenGL/QGLContext> does not
> > reference opengl.
> > 
> > i ask the question to the Qt master
> > 
> >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >>> unsubscribe <<
> >> 
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to