- Qt 5.3
- Qt QML
- Chapter 2: Connecting to C++ Methods and Signals
- chapter2-methods.pro Example File
- Qt 5.3.2 Reference Documentation

# chapter2-methods.pro Example File

tutorials/extending/chapter2-methods/chapter2-methods.pro

    QT += qml quick

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

    RESOURCES += chapter2-methods.qrc

    DESTPATH = $$[QT_INSTALL_EXAMPLES]/qml/tutorials/extending/chapter2-methods
    target.path = $$DESTPATH

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

    INSTALLS += target qml