Qt 5.7 | Qt 3D | Qt 3D: Deferred Renderer C++ Example | deferred-renderer-cpp.pro Example File

Qt 5.7.1 Reference Documentation

# deferred-renderer-cpp.pro Example File

deferred-renderer-cpp/deferred-renderer-cpp.pro

      !include( ../examples.pri ) {
          error( "Couldn't find the examples.pri file!" )
      }

      QT += 3dcore 3drender 3dinput 3dextras

      HEADERS += \
          gbuffer.h \
          deferredrenderer.h \
          finaleffect.h \
          sceneeffect.h \
          pointlightblock.h

      SOURCES += \
          main.cpp \
          gbuffer.cpp \
          deferredrenderer.cpp \
          finaleffect.cpp \
          sceneeffect.cpp \
          pointlightblock.cpp

      RESOURCES += \
          deferred-renderer-cpp.qrc

      OTHER_FILES += \
          geometry_gl2.vert \
          geometry_gl2.frag \
          geometry_gl3.frag \
          geometry_gl3.vert \
          final_gl2.vert \
          final_gl2.frag \
          final_gl3.frag \
          final_gl3.vert