Qt Reference Documentation

# adding.pro Example File

declarative/cppextensions/referenceexamples/adding/adding.pro

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

     # Input
     SOURCES += main.cpp \
                person.cpp
     HEADERS += person.h
     RESOURCES += adding.qrc
     target.path = $$[QT_INSTALL_EXAMPLES]/declarative/extending/adding
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS adding.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/declarative/extending/adding
     INSTALLS += target sources