Qt 4.6: systray.pro Example File (desktop/systray/systray.pro)

|  | Home · All Classes · Overviews |

# 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
     }