MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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/extending/methods
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS methods.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/declarative/extending/methods
 INSTALLS += target sources