Qt Reference Documentation

pbuffers.pro Example File

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

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/opengl/pbuffers
 sources.files = $$SOURCES \
     $$HEADERS \
     $$RESOURCES \
     pbuffers.pro \
     *.png
 sources.path = $$[QT_INSTALL_EXAMPLES]/opengl/pbuffers
 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)
 maemo5: warning(This example does not work on Maemo platform)
 simulator: warning(This example might not fully work on Simulator platform)