--- a/phoneplugins/infowidgetplugin/infowidgetplugin.pro Fri Jun 04 10:19:18 2010 +0100
+++ b/phoneplugins/infowidgetplugin/infowidgetplugin.pro Wed Jun 23 18:12:20 2010 +0300
@@ -10,14 +10,64 @@
# Nokia Corporation - initial contribution.
#
# Contributors:
-#
-# Description: Project file for building Phone components
+#
+# Description:
#
#
+
-TEMPLATE = subdirs
-CONFIG += ordered
+TEMPLATE = lib
+CONFIG += plugin hb svg mobility
+MOBILITY = serviceframework
+
+TRANSLATIONS = operator_widget.ts
+
+MOC_DIR = moc
+RCC_DIR = rcc
-SUBDIRS = infowidgetprovider infowidgetproviderinstaller
+symbian: {
+LIBS += -lhswidgetmodel \
+ -lxqsettingsmanager \
+ -lnetworkhandling \
+ -lsatclient
+}
+
+INCLUDEPATH += ./inc \
+ ./infowidget/inc
+
+symbian: {
+ load(data_caging_paths)
+ INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
+ TARGET.UID3 = 0x20029F28
+ TARGET.EPOCALLOWDLLDATA = 1
+ TARGET.CAPABILITY = ALL \
+ -TCB
+ deploy.path = c:
+
+ DEPLOYMENT += exportheaders
+
+ BLD_INF_RULES.prj_exports += \
+ "$${LITERAL_HASH}include <platform_paths.hrh>" \
+ "./rom/infowidgetplugin.iby CORE_APP_LAYER_IBY_EXPORT_PATH(infowidgetplugin.iby)" \
+ "./rom/infowidgetplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(infowidgetplugin_resources.iby)"
+}
-
\ No newline at end of file
+RESOURCES = infowidgetplugin.qrc
+
+symbian: PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20029F28
+OUTPUT_DIR = ./bin
+SOURCE_DIR = ./inc
+OBJECTS_DIR = $$OUTPUT_DIR/tmp/$$TARGET
+DESTDIR = $$OUTPUT_DIR
+MOC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/moc
+RCC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/rcc
+UI_DIR = $$OUTPUT_DIR/tmp/$$TARGET/ui
+LIBS += -L$$DESTDIR
+DEPENDPATH += . $$SOURCE_DIR
+INCLUDEPATH += . $$SOURCE_DIR
+INCLUDEPATH += $$MOC_DIR
+plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR
+
+include(infowidgetplugin.pri)
+
+exportResources(./resource/*.manifest, $$PLUGIN_SUBDIR)