The Textures example demonstrates the use of Qt's image classes as textures in applications that use both OpenGL and Qt to display graphics.
范例工程 @ code.qt.io