example/fbcontactfetcherplugin/fbcontactfetcherplugin.pro
author cgandhi <chandradeep.gandhi@sasken.com>
Wed, 23 Jun 2010 19:51:49 +0530
changeset 14 a469c0e6e7fb
child 17 106a4bfcb866
permissions -rw-r--r--
changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.

TEMPLATE = lib

CONFIG += plugin \
	mobility
	
MOBILITY += contacts \ 
	location
	
QT += core \
	xml \
	network
	
HEADERS = fbcontactfetcherplugin.h

SOURCES = fbcontactfetcherplugin.cpp

TARGET = $$qtLibraryTarget(fbcontactfetcherplugin)

symbian: { 
    # Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files
    load(data_caging_paths)
    
    # EPOCALLOWDLLDATA have to set true because Qt macros has initialised global data
    TARGET.EPOCALLOWDLLDATA = 1
    
    # Defines plugin files into Symbian .pkg package
    pluginDep.sources = fbcontactfetcherplugin.dll
    pluginDep.path = $$QT_PLUGINS_BASE_DIR/smf/plugin/contact.fetcher
    DEPLOYMENT += pluginDep
    
    TARGET.CAPABILITY = NetworkServices \
    	ReadUserData \
    	WriteUserData \
    	LocalServices \
    	UserEnvironment \
    	ReadDeviceData \
    	WriteDeviceData
    
   LIBS += -lsmfclient.dll
}

target.path += $$[QT_INSTALL_PLUGINS]/smf/plugin/contact.fetcher

INSTALLS += target