Qt Reference Documentation

# methods.pro Example File

declarative/cppextensions/referenceexamples/methods/methods.pro

     TEMPLATE = app
     TARGET = methods
     DEPENDPATH += .
     INCLUDEPATH += .
     QT += declarative

     # Input
     SOURCES += main.cpp \
                person.cpp \
                birthdayparty.cpp
     HEADERS += person.h \
                birthdayparty.h
     RESOURCES += methods.qrc

     target.path = $$[QT_INSTALL_EXAMPLES]/declarative/cppextensions/referenceexamples/methods
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS methods.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/declarative/cppextensions/referenceexamples/methods
     INSTALLS += target sources