chapter1-basics.pro Example File | Qt QML 5.9

Qt 5.9 | Qt QML | Writing QML Extensions with C++ | chapter1-basics.pro Example File

Qt 5.9.4 Reference Documentation

# chapter1-basics.pro Example File

tutorials/extending-qml/chapter1-basics/chapter1-basics.pro

      QT += qml quick

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

      RESOURCES += chapter1-basics.qrc

      DESTPATH = $$[QT_INSTALL_EXAMPLES]/qml/tutorials/extending-qml/chapter1-basics
      target.path = $$DESTPATH

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

      INSTALLS += target qml