musicwidgetplugin/musicwidgetplugin.pro
changeset 32 c163ef0b758d
child 43 0f32e550d9d8
child 48 af3740e3753f
equal deleted inserted replaced
29:8192e5b5c935 32:c163ef0b758d
       
     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 # Music Player home screen widget
       
    15 #
       
    16 
       
    17 TEMPLATE = lib
       
    18 CONFIG += plugin mobility hb
       
    19 MOBILITY = serviceframework
       
    20 
       
    21 LIBS += -lhswidgetmodel
       
    22 LIBS += -lxqservice
       
    23 LIBS += -lxqserviceutil
       
    24 LIBS += -lmpengine
       
    25 LIBS += -lmpdata
       
    26 
       
    27 INCLUDEPATH += ./inc
       
    28 INCLUDEPATH += ../inc
       
    29 
       
    30 HEADERS += ./inc/*.h
       
    31 SOURCES += ./src/*.cpp
       
    32 
       
    33 
       
    34 RESOURCES = resource/musicwidgetui.qrc
       
    35 
       
    36 UID = 200286FA
       
    37 
       
    38 symbian:include(./rom/rom.pri)
       
    39 
       
    40 symbian: {
       
    41 
       
    42     DESTDIR = $${PRIVATE}/private/20022F35/import/widgetregistry/$${UID}
       
    43     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    44     
       
    45     TARGET.UID3 = 0x$${UID}
       
    46     TARGET.EPOCALLOWDLLDATA=1
       
    47     TARGET.CAPABILITY = ALL -TCB
       
    48     #TRANSLATIONS    += musicwidgetplugin.ts
       
    49         
       
    50     plugins.path = $${DESTDIR}
       
    51     plugins.sources = $${TARGET}.dll 
       
    52     
       
    53     widgetResources.path = $${DESTDIR}
       
    54     widgetResources.sources += resource/$${TARGET}.xml
       
    55     widgetResources.sources += resource/$${TARGET}.manifest
       
    56     widgetResources.sources += resource/musicwidgeticon.png
       
    57     
       
    58     DEPLOYMENT += plugins \
       
    59                   widgetResources
       
    60 }