Qt 4.8: hellogl.pro Example File (opengl/hellogl/hellogl.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# hellogl.pro Example File

opengl/hellogl/hellogl.pro

     VPATH += ../shared
     INCLUDEPATH += ../shared

     HEADERS       = glwidget.h \
                     window.h \
                     qtlogo.h
     SOURCES       = glwidget.cpp \
                     main.cpp \
                     window.cpp \
                     qtlogo.cpp
     QT           += opengl

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/opengl/hellogl
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS hellogl.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/opengl/hellogl
     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)