chapter4-customPropertyTypes.pro Example File | Qt QML 5.9

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

Qt 5.9.9 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