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