example/fbpostproviderplugin/fbpostproviderplugin.pro
changeset 6 c39a6cfd1fb9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/example/fbpostproviderplugin/fbpostproviderplugin.pro	Tue May 18 17:33:55 2010 +0530
@@ -0,0 +1,42 @@
+TEMPLATE = lib
+
+CONFIG += plugin \
+	mobility
+	
+MOBILITY += contacts \ 
+	location
+	
+QT += core \
+	xml \
+	network
+	
+HEADERS = fbpostproviderplugin.h
+
+SOURCES = fbpostproviderplugin.cpp
+
+TARGET = $$qtLibraryTarget(fbpostproviderplugin)
+
+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 = fbpostproviderplugin.dll
+    pluginDep.path = $$QT_PLUGINS_BASE_DIR/smf/plugin/contact.posts
+    DEPLOYMENT += pluginDep
+    
+    TARGET.CAPABILITY = ReadUserData \
+        WriteUserData \
+        LocalServices \
+        NetworkServices \
+        UserEnvironment
+    
+   LIBS += -lsmfclient.dll
+}
+
+target.path += $$[QT_INSTALL_PLUGINS]/smf/plugin/contact.posts
+
+INSTALLS += target
\ No newline at end of file