musicwidgetplugin/musicwidgetplugin.pro
author hgs
Fri, 06 Aug 2010 16:51:36 -0500
changeset 47 4cc1412daed0
parent 43 0f32e550d9d8
child 59 cd9e40a08dda
permissions -rw-r--r--
201031

#
# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Music Player home screen widget
#

TEMPLATE = lib
CONFIG += plugin mobility hb
MOBILITY = serviceframework

LIBS += -lxqservice
LIBS += -lxqserviceutil
LIBS += -lmpengine
LIBS += -lmpdata
LIBS += -lmpalbumcoverwidget

INCLUDEPATH += ./inc
INCLUDEPATH += ../inc

HEADERS += ./inc/*.h
SOURCES += ./src/*.cpp


RESOURCES = resource/musicwidgetui.qrc

UID = 200286FA

symbian:include(./rom/rom.pri)

symbian: {

    DESTDIR = $${PRIVATE}/private/20022F35/import/widgetregistry/$${UID}
    INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
    
    TARGET.UID3 = 0x$${UID}
    TARGET.EPOCALLOWDLLDATA=1
    TARGET.CAPABILITY = ALL -TCB
    #TRANSLATIONS    += musicwidgetplugin.ts
        
    plugins.path = $${DESTDIR}
    plugins.sources = $${TARGET}.dll 
    
    widgetResources.path = $${DESTDIR}
    widgetResources.sources += resource/$${TARGET}.xml
    widgetResources.sources += resource/$${TARGET}.manifest
    widgetResources.sources += resource/musicwidgeticon.png
    
    DEPLOYMENT += plugins \
                  widgetResources
}

DOCML += resource/music_widget.docml