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

Qt 5.11.3 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