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

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