textures.pro Example File
textures/textures.pro
HEADERS = glwidget.h \
window.h
SOURCES = glwidget.cpp \
main.cpp \
window.cpp
RESOURCES = textures.qrc
QT += opengl widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/textures
INSTALLS += target
simulator: warning(This example might not fully work on Simulator platform)