- Qt 5.5
- Qt3D Module
- Qt3D: Materials C++ Example
- materials-cpp.pro Example File
- Qt 5.5.1 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 3drenderer 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