MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

flickr.pro Example File

demos/symbian/flickr/flickr.pro
 TEMPLATE = app
 TARGET = flickr
 QT += network declarative

 SOURCES += main.cpp
 RESOURCES += flickr.qrc

 symbian {
     TARGET.UID3 = 0x2003DE91
     TARGET.EPOCHEAPSIZE = 0x400000 0x6000000 #64MB
     TARGET.CAPABILITY += NetworkServices
     ICON = flickr.svg

     stubsis = \
         "START EXTENSION app-services.buildstubsis" \
         "OPTION SISNAME flickr_stub" \
         "OPTION SRCDIR ."\
         "END"
     BLD_INF_RULES.prj_extensions = stubsis

     vendor_info = \
             " " \
             "; Localised Vendor name" \
             "%{\"Nokia\"}" \
             " " \
             "; Unique Vendor name" \
             ":\"Nokia\"" \
             " "

     header = "$${LITERAL_HASH}{\"flickr\"},(0x2003DE91),1,0,0,TYPE=SA,RU"
     package.pkg_prerules += vendor_info header
     DEPLOYMENT += package
 }

 OTHER_FILES += \
     qml/*.qml \
     qml/*.js \
     qml/images/* \
     *.svg