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.

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 <<

Reply via email to