Hi dudes!

Is there any way to create automatically mipmaps when using QGLWidget::bindTexture?
Or should I upload textures manually , something like:

glGenTextures(1, &m_texture_id_opengl);
glBindTexture(GL_TEXTURE_2D, m_texture_id_opengl);

Or maybe use an extension:

glGenTextures( 1, &texture_id );
glBindTexture(GL_TEXTURE_2D, texture_id);

Actually what I don't understand is if Qt have any wrapper or anything to help me creating mipmaps or I must create it using low level instruccions.

Thanks a lot for your help.