Qt 4.7: samplebuffers.pro Example File (opengl/samplebuffers/samplebuffers.pro)

Qt Reference Documentation

# samplebuffers.pro Example File

opengl/samplebuffers/samplebuffers.pro

     HEADERS += glwidget.h
     SOURCES += glwidget.cpp main.cpp

     QT += opengl

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/opengl/samplebuffers
     sources.files = $$SOURCES $$HEADERS samplebuffers.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/opengl/samplebuffers
     INSTALLS += target sources

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