cube.pro Example File | Qt OpenGL

Qt 5.6 | Qt OpenGL | Cube OpenGL ES 2.0 example | cube.pro Example File

Qt 5.6.2 Reference Documentation

# cube.pro Example File

cube/cube.pro

      QT       += core gui widgets

      TARGET = cube
      TEMPLATE = app

      SOURCES += main.cpp

      SOURCES += \
          mainwidget.cpp \
          geometryengine.cpp

      HEADERS += \
          mainwidget.h \
          geometryengine.h

      RESOURCES += \
          shaders.qrc \
          textures.qrc

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/opengl/cube
      INSTALLS += target