messagingapp/msgui/unifiedviewer/unifiedviewer.pro
branchRCL_3
changeset 26 ebe688cedc25
equal deleted inserted replaced
25:fa1df4b99609 26:ebe688cedc25
       
     1 #
       
     2 # Copyright (c) 2009 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 TEMPLATE = lib
       
    18 TARGET = unifiedviewer
       
    19 DEFINES += BUILD_UNI_VIEWER_DLL
       
    20 
       
    21 DEPENDPATH += . src inc ../inc
       
    22 
       
    23 INCLUDEPATH += .
       
    24 INCLUDEPATH += ../../../inc
       
    25 INCLUDEPATH += ../appengine/inc
       
    26 INCLUDEPATH += ../msguiutils/inc
       
    27 INCLUDEPATH += . ../../msgutils/unieditorutils/editorgenutils/inc
       
    28 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    29 
       
    30 #QMAKE_CXXFLAGS.ARMCC -= --no_hide_all
       
    31 
       
    32 #UID3
       
    33 TARGET.UID3 = 0x2002432B
       
    34 
       
    35 # Capability
       
    36 TARGET.CAPABILITY = All -TCB
       
    37 TARGET.EPOCALLOWDLLDATA = 1
       
    38 TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
       
    39 
       
    40 CONFIG += hb
       
    41 HB += hbfeedback
       
    42 
       
    43 # Platforms
       
    44 SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    45 
       
    46 # Build.inf rules
       
    47 BLD_INF_RULES.prj_exports += \
       
    48      "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    49      "rom/unifiedviewer.iby             CORE_APP_LAYER_IBY_EXPORT_PATH(unifiedviewer.iby)"
       
    50 
       
    51 defBlock = \      
       
    52 	  "$${LITERAL_HASH}if defined(EABI)" \
       
    53 	  "DEFFILE  ../eabi/unifiedviewer.def" \
       
    54              "$${LITERAL_HASH}else" \
       
    55              "DEFFILE  ../bwins/unifiedviewer.def" \
       
    56              "$${LITERAL_HASH}endif"
       
    57 	
       
    58 MMP_RULES += defBlock
       
    59 
       
    60 # Input
       
    61 HEADERS += inc/unifiedviewer.h \
       
    62            inc/unicontentswidget.h \
       
    63            inc/univiewerfeeder.h \
       
    64            inc/univiewerfeeder_p.h \
       
    65            inc/univiewslidewidget.h \
       
    66            inc/uniscrollarea.h \
       
    67            ../inc/msgbaseview.h \
       
    68            inc/univiewerutils.h \
       
    69            inc/univiewerbodywidget.h \
       
    70            inc/univiewerdetailswidget.h \
       
    71            inc/univieweraddresswidget.h \
       
    72            inc/univieweraddresscontainer.h \
       
    73            inc/univiewerattachmentwidget.h \
       
    74            inc/univiewertextitem.h \
       
    75            inc/univiewerheadercontainer.h \
       
    76            inc/univiewerpixmapwidget.h \
       
    77            inc/univieweraudiowidget.h
       
    78 
       
    79 SOURCES += src/unifiedviewer.cpp \
       
    80            src/unicontentswidget.cpp \
       
    81            src/univiewerfeeder.cpp \
       
    82            src/univiewerfeeder_p.cpp \
       
    83            src/univiewslidewidget.cpp \
       
    84            src/uniscrollarea.cpp \
       
    85            src/univiewerutils.cpp \
       
    86            src/univiewerbodywidget.cpp \
       
    87            src/univiewerdetailswidget.cpp \
       
    88            src/univieweraddresswidget.cpp \
       
    89            src/univieweraddresscontainer.cpp \
       
    90            src/univiewerattachmentwidget.cpp \
       
    91            src/univiewertextitem.cpp \
       
    92            src/univiewerheadercontainer.cpp \
       
    93            src/univiewerpixmapwidget.cpp \
       
    94            src/univieweraudiowidget.cpp
       
    95 
       
    96 RESOURCES += unifiedviewer.qrc
       
    97 
       
    98 # Libs
       
    99 LIBS = -letext \
       
   100        -lmsgs \
       
   101        -lconvergedmessageutils \
       
   102        -lappengine \
       
   103        -lunidatamodelloader \
       
   104        -lxqservice \
       
   105        -lQtContacts \
       
   106        -lmsguiutils \
       
   107        -lcentralrepository \
       
   108        -lthumbnailmanagerqt \
       
   109        -lxqserviceutil \
       
   110        -lsqldb