Qt 5.6 | Qt 3D | Qt 3D: Materials C++ Example | materials-cpp.pro Example File

Qt 5.6.3 Reference Documentation

# materials-cpp.pro Example File

materials-cpp/materials-cpp.pro

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

      QT += 3dcore 3drender 3dinput

      HEADERS += \
          planeentity.h \
          renderableentity.h \
          trefoilknot.h \
          barrel.h \
          rotatingtrefoilknot.h \
          houseplant.h

      SOURCES += \
          main.cpp \
          planeentity.cpp \
          renderableentity.cpp \
          trefoilknot.cpp \
          barrel.cpp \
          rotatingtrefoilknot.cpp \
          houseplant.cpp

      RESOURCES += \
          ../exampleresources/chest.qrc \
          ../exampleresources/houseplants.qrc \
          ../exampleresources/metalbarrel.qrc \
          ../exampleresources/obj.qrc \
          ../exampleresources/textures.qrc