Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# 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)