Qt 5.11 | Qt QML | Writing QML Extensions with C++ | chapter5-listproperties.pro Example File

Qt 5.11.3 Reference Documentation

# chapter5-listproperties.pro Example File

tutorials/extending-qml/chapter5-listproperties/chapter5-listproperties.pro

      QT += qml quick

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

      RESOURCES += chapter5-listproperties.qrc

      DESTPATH = $$[QT_INSTALL_EXAMPLES]/qml/tutorials/extending-qml/chapter5-listproperties
      target.path = $$DESTPATH

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

      INSTALLS += target qml