title: Add texture to QT OpenGL scene graph
body: <p>I am trying to render a texture to a simple opengl square. I just want to map the texture directly onto the rectangle. I followed the scene graph example, located <a href="http://qt-project.org/doc/qt-5/qtquick-scenegraph-openglunderqml-example.html" rel="nofollow">here</a>, on how to call opengl functions and display shapes, but i'm lost with trying to add a texture. I checked through multiple docs and they all dealt with using the fixed function pipeline, or subclassing QGLWidget. I would like to keep this example OpenGL ES and with utilizing shaders.</p>
  
  <p>I am new to OpenGL so if anyone could give me an understanding of what has to happen, that would be wonderful.</p>