I am trying to run the cube example for Symbian^3 with OpenGL ES 2,0 but it does not compile. There are two errors, one saying that glActiveTexture is not declared and the other saying the same for GL_TEXTURE0.
I chanced upon a forum post "here ":https://qt-project.org/forums/viewthread/6884, and it turns out that we have to include the QGLFunctions module, but still one error remains: 'glActiveTexture' was not declared in this scope', i.e. the glActiveTexture primitive is not being identified by opengl.
The glActiveTexture primitive only sets the texture mode to GL_TEXTURE0, which is default. So removing the line (the first line in function 'initTextures' in mainwidget.cpp) should be fine, but the application crashes on doing so.
Any help is appreciated. Thanks.