Qt 4.8: Textures Example

Qt Reference Documentation

# Textures Example

Files:

- opengl/textures/glwidget.cpp
- opengl/textures/glwidget.h
- opengl/textures/window.cpp
- opengl/textures/window.h
- opengl/textures/main.cpp
- opengl/textures/textures.pro
- opengl/textures/textures.qrc

Images:

- opengl/textures/images/side1.png
- opengl/textures/images/side2.png
- opengl/textures/images/side3.png
- opengl/textures/images/side4.png
- opengl/textures/images/side5.png
- opengl/textures/images/side6.png

The Textures example demonstrates the use of Qt's image classes as textures in applications that use both OpenGL and Qt to display graphics.