Qt 5.6 | Qt 3D | Qt 3D: Loader QML Example | loader-qml.pro Example File

Qt 5.6.3 Reference Documentation

# loader-qml.pro Example File

loader-qml/loader-qml.pro

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

      QT += 3dcore 3drender 3dinput 3dquick qml quick

      SOURCES += \
          main.cpp

      OTHER_FILES += \
          main.qml \
          SphereEntity.qml \
          CuboidEntity.qml

      RESOURCES += \
          loader-qml.qrc