MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

calculator.pro Example File

widgets/calculator/calculator.pro
 HEADERS       = button.h \
                 calculator.h
 SOURCES       = button.cpp \
                 calculator.cpp \
                 main.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/calculator
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS calculator.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/calculator
 INSTALLS += target sources

 symbian {
     TARGET.UID3 = 0xA000C602
     include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 }