contactwidgethsplugin/contactwidgethsplugin.pro
changeset 66 554fe4dbbb59
parent 51 81c360d47083
child 77 c18f9fa7f42e
--- a/contactwidgethsplugin/contactwidgethsplugin.pro	Mon Aug 23 16:06:28 2010 +0300
+++ b/contactwidgethsplugin/contactwidgethsplugin.pro	Fri Sep 03 14:32:33 2010 +0300
@@ -57,9 +57,22 @@
     # xml files for emulator, sisx and hw rom
     BLD_INF_RULES.prj_exports += "./resource/contactwidgethsplugin.xml z:$$PLUGIN_SUBDIR/contactwidgethsplugin.xml"
 
+	BLD_INF_RULES.prj_exports += "./resource/qtg_large_friend.svg z:$$PLUGIN_SUBDIR/qtg_large_friend.svg"
+
     # copy iby file
     BLD_INF_RULES.prj_exports += "./rom/contactwidgeths.iby CORE_APP_LAYER_IBY_EXPORT_PATH(contactwidgeths.iby)"
     BLD_INF_RULES.prj_exports += "./rom/contactwidgeths_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(contactwidgeths_resources.iby)"
+    
+    
+    contactwidgethsplugin_buildstubsis_extension = \
+        "$${LITERAL_HASH}ifdef MARM" \
+        "    START EXTENSION app-services/buildstubsis" \
+        "    OPTION SRCDIR ." \
+        "    OPTION SISNAME contactwidgethsplugin_stub" \
+        "    END" \
+        "$${LITERAL_HASH}endif" 
+        
+    BLD_INF_RULES.prj_extensions += contactwidgethsplugin_buildstubsis_extension
 }
 
 symbian {
@@ -67,6 +80,21 @@
     ICON = qtg_large_friend.svg
     # themable icon for application library
     SKINICON = qtg_large_friend
-}
+
+    DESTDIR = /private/20022F35/import/widgetregistry/2002C353
+    INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
 
+    # plugins.path = $${DESTDIR}
+    # plugins.sources = $${TARGET}.dll 
+    
+    widgetResources.path = $${DESTDIR}
+    widgetResources.sources += resource/$${TARGET}.xml    
+    widgetResources.sources += resource/$${TARGET}.manifest
+    widgetResources.sources += resource/qtg_large_friend.svg
+    widgetResources.sources += resource/qtg_graf_hswidget_preview_contact.svg
+    # widgetResources.sources += resource/$${TARGET}.svg
+        
+    DEPLOYMENT += plugins \
+                  widgetResources
+}
 include(contactwidgethsplugin.pri)