MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

systray.pro Example File

desktop/systray/systray.pro
 HEADERS       = window.h
 SOURCES       = main.cpp \
                 window.cpp
 RESOURCES     = systray.qrc
 QT           += xml svg

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/desktop/systray
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS systray.pro resources images
 sources.path = $$[QT_INSTALL_EXAMPLES]/desktop/systray
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)

 wince* {
         CONFIG(debug, release|debug) {
                 addPlugins.sources = $$QT_BUILD_TREE/plugins/imageformats/qsvgd4.dll
         }
         CONFIG(release, release|debug) {
                 addPlugins.sources = $$QT_BUILD_TREE/plugins/imageformats/qsvg4.dll
         }
         addPlugins.path = imageformats
         DEPLOYMENT += addPlugins
 }