example/MusicLyricsPlugin/MusicLyricsPlugin.pro
changeset 23 574948b60dab
equal deleted inserted replaced
22:b2eb79881f9d 23:574948b60dab
       
     1 TEMPLATE = lib
       
     2 CONFIG += plugin \
       
     3     mobility
       
     4 MOBILITY += location 
       
     5 QT += core \
       
     6     xml \
       
     7     network
       
     8 HEADERS = musiclyricsplugin.h
       
     9 SOURCES = musiclyricsplugin.cpp
       
    10 TARGET = $$qtLibraryTarget(musiclyricsplugin)
       
    11 symbian: { 
       
    12     # Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files
       
    13     load(data_caging_paths)
       
    14     
       
    15     # EPOCALLOWDLLDATA have to set true because Qt macros has initialised global data
       
    16     TARGET.EPOCALLOWDLLDATA = 1
       
    17     
       
    18     # Defines plugin files into Symbian .pkg package
       
    19     pluginDep.sources = musiclyricsplugin.dll
       
    20     pluginDep.path = $$QT_PLUGINS_BASE_DIR/smf/plugin/music.lyrics
       
    21     DEPLOYMENT += pluginDep
       
    22     TARGET.CAPABILITY = ReadUserData \
       
    23         WriteUserData \
       
    24         LocalServices \
       
    25         NetworkServices \
       
    26         UserEnvironment \
       
    27         ReadDeviceData \
       
    28         WriteDeviceData 
       
    29     LIBS += -lsmfclient.dll
       
    30     LIBS +=  -lsmfcommon
       
    31     LIBS += -lqjson.dll
       
    32 }
       
    33 target.path += $$[QT_INSTALL_PLUGINS]/smf/plugin/music.lyrics
       
    34 INSTALLS += target
       
    35 
       
    36 
       
    37