Qt 5.11 | Qt QML | Writing QML Extensions with C++ | chapter3-bindings.pro Example File

Qt 5.11.3 Reference Documentation

# chapter3-bindings.pro Example File

tutorials/extending-qml/chapter3-bindings/chapter3-bindings.pro

      QT += qml quick

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

      RESOURCES += chapter3-bindings.qrc

      DESTPATH = $$[QT_INSTALL_EXAMPLES]/qml/tutorials/extending-qml/chapter3-bindings
      target.path = $$DESTPATH

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

      INSTALLS += target qml