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