Qt 5.8 | Qt QML | Writing QML Extensions with C++ | chapter4-customPropertyTypes.pro Example File

Qt 5.8.0 Reference Documentation

# chapter4-customPropertyTypes.pro Example File

tutorials/extending-qml/chapter4-customPropertyTypes/chapter4-customPropertyTypes.pro

      QT += qml quick

      HEADERS += piechart.h \
                 pieslice.h
      SOURCES += piechart.cpp \
                 pieslice.cpp \
                 main.cpp

      RESOURCES += chapter4-customPropertyTypes.qrc

      DESTPATH = $$[QT_INSTALL_EXAMPLES]/qml/tutorials/extending-qml/chapter4-customPropertyTypes
      target.path = $$DESTPATH

      qml.files = *.qml
      qml.path = $$DESTPATH

      INSTALLS += target qml