emailuis/nmhswidget/nmhswidget.pro
branchRCL_3
changeset 24 d189ee25cf9d
equal deleted inserted replaced
23:dcf0eedfc1a3 24:d189ee25cf9d
       
     1 #
       
     2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 # 
       
    14 # Description:
       
    15 #
       
    16 #
       
    17  
       
    18 TEMPLATE = lib
       
    19 CONFIG += plugin hb mobility qtservice
       
    20 QTSERVICE.DESCRIPTOR = resources/nmhswidget.xml
       
    21 MOBILITY = serviceframework
       
    22 HB += hbfeedback
       
    23 TARGET = nmhswidget
       
    24 QT += core
       
    25 RESOURCES += nmhswidget.qrc
       
    26 LIBS += -lnmailbase \
       
    27         -lnmailuiengine \
       
    28         -lxqservice \
       
    29         -leuser \
       
    30         -llibc \
       
    31         -lbafl
       
    32 symbian: {
       
    33 TARGET.UID3=0x2002DD15
       
    34 TARGET.VID = VID_DEFAULT
       
    35 
       
    36 load(data_caging_paths)
       
    37 pluginDep.sources = nmhswidget.dll
       
    38 pluginDep.path = $$QT_PLUGINS_BASE_DIR
       
    39 DEPLOYMENT += pluginDep
       
    40 
       
    41 addFiles.sources += ./resources/nmhswidget.xml
       
    42 addFiles.path = xmldata
       
    43 DEPLOYMENT += addFiles
       
    44 
       
    45 BLD_INF_RULES.prj_exports += "resources/nmhswidget.xml 			z:/private/2002DD15/nmhswidget.xml"
       
    46 BLD_INF_RULES.prj_exports += "rom/nmhswidget.iby				CORE_APP_LAYER_IBY_EXPORT_PATH(nmhswidget.iby)"
       
    47 BLD_INF_RULES.prj_exports += "rom/nmhswidgetlanguage.iby 		LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(nmhswidgetlanguage.iby)"
       
    48 TARGET.EPOCALLOWDLLDATA = 1
       
    49 }
       
    50 
       
    51 TARGET.CAPABILITY = ALL -TCB
       
    52     
       
    53 SOURCES += src/nmhswidget.cpp \
       
    54     src/nmhswidgetemailengine.cpp \
       
    55     src/nmhswidgetemailrow.cpp \
       
    56     src/nmhswidgettitlerow.cpp \
       
    57     src/nmhswidgetplugin.cpp \
       
    58     src/nmhswidgetdatetimeobserver.cpp \
       
    59     src/nmhswidgetdatetimeobserver_p.cpp
       
    60 
       
    61 HEADERS += inc/nmhswidget.h \
       
    62     inc/nmhswidgetconsts.h \
       
    63     inc/nmhswidgetemailengine.h \
       
    64     inc/nmhswidgetemailrow.h \
       
    65     inc/nmhswidgettitlerow.h \
       
    66     inc/nmhswidgetplugin.h \
       
    67     inc/nmhswidgetdatetimeobserver.h \
       
    68     inc/nmhswidgetdatetimeobserver_p.h
       
    69 
       
    70 INCLUDEPATH += ./inc \
       
    71     ../../inc \
       
    72     ../inc \
       
    73     $$APP_LAYER_SYSTEMINCLUDE
       
    74     
       
    75 DEPENDPATH += .
       
    76 TRANSLATIONS = mailwidget.ts
       
    77 
       
    78 DOCML += conf/nmhswidgetmail.docml \
       
    79          conf/nmhswidget.docml