Qt Reference Documentation

textures.pro Example File

opengl/textures/textures.pro
 HEADERS       = glwidget.h \
                 window.h
 SOURCES       = glwidget.cpp \
                 main.cpp \
                 window.cpp
 RESOURCES     = textures.qrc
 QT           += opengl

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/opengl/textures
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS textures.pro images
 sources.path = $$[QT_INSTALL_EXAMPLES]/opengl/textures
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

 symbian: warning(This example might not fully work on Symbian platform)
 simulator: warning(This example might not fully work on Simulator platform)