Quote Originally Posted by wysota View Post
Have you checked that the path to the image is correct and that the image gets loaded?

BTW. Using Qt methods for binding the texture might be a bit less error prone, i.e.
Qt Code:
  1. bindTexture(QPixmap(":/images/side.png"), GL_TEXTURE_2D);
To copy to clipboard, switch view to plain text mode 
Yes. The path to the image is correct and that the image gets loaded.
Same code works fine with QGLWidget in QGLWidget:aintGL().