videocollection/videocollectionview/videocollectionview.pro
changeset 15 cf5481c2bc0b
child 17 69946d1824c4
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     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 CONFIG += hb \
       
    19     qt \
       
    20     ecomplugin
       
    21 
       
    22 TARGET = 
       
    23 symbian: { 
       
    24     TARGET.UID2 = 0x10009D8D
       
    25     TARGET.UID3 = 0x200211FB
       
    26     BLD_INF_RULES.prj_exports += \
       
    27     	"rom/videocollectionview.iby CORE_APP_LAYER_IBY_EXPORT_PATH(videocollectionview.iby)" \
       
    28     	"conf/videolistview.confml                      APP_LAYER_CONFML(videolistview.confml)" \
       
    29     	"conf/videolistview_2002BC63.crml               APP_LAYER_CRML(videolistview_2002BC63.crml)"
       
    30     
       
    31     TARGET.CAPABILITY = ALL -TCB -DRM
       
    32 
       
    33     # to enable resource access from Qt
       
    34     TARGET.EPOCALLOWDLLDATA = 1
       
    35 }
       
    36 
       
    37 # mpx view plugin definitions:
       
    38 # plugin interface name
       
    39 SERVICE.INTERFACE_NAME = org.nokia.mmdt.QViewPlugin/1.0
       
    40 
       
    41 # opaque data for resolving the correct plugin
       
    42 SERVICE.CONFIGURATION = "<t>0x200211FC</t><p></p><i>EMPXViewPluginPriorityNormal</i><f>0x00000001</f>"
       
    43 
       
    44 DEPENDPATH += .
       
    45 INCLUDEPATH += . \
       
    46                ./inc
       
    47 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE \
       
    48     		/epoc32/include/mw/hb/hbtools \
       
    49 		/epoc32/include/mw
       
    50 
       
    51 INCLUDEPATH += ../videocollectionwrapper/inc \
       
    52                ../../videoplayerapp/videoplayerengine/inc \
       
    53                ../../videoplayerapp/inc \
       
    54                ../inc \
       
    55                ../../inc \
       
    56 
       
    57 # Input
       
    58 HEADERS += inc/videocollectionviewplugin.h \
       
    59            inc/videolistview.h \
       
    60            inc/videolistwidget.h \
       
    61            inc/videohintwidget.h \
       
    62            inc/videocollectionviewutils.h \
       
    63            inc/videocollectionuiloader.h \
       
    64            inc/videolistselectiondialog.h
       
    65 
       
    66 SOURCES += src/videocollectionviewplugin.cpp \
       
    67            src/videolistview.cpp \
       
    68            src/videolistwidget.cpp \
       
    69            src/videohintwidget.cpp \
       
    70            src/videocollectionviewutils.cpp \
       
    71            src/videocollectionuiloader.cpp \
       
    72            src/videolistselectiondialog.cpp
       
    73     
       
    74 RESOURCES += data/videocollectionview.qrc
       
    75 
       
    76 LIBS += -lmpxviewframeworkqt.dll \
       
    77         -lvideocollectionwrapper.dll \
       
    78         -lcentralrepository.dll \
       
    79         -lxqserviceutil.dll \
       
    80         -lvideoplayerengine.dll
       
    81     
       
    82 # Seems to be no way to get these on top of file
       
    83 mmpBlock = "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    84     "$${LITERAL_HASH}include <data_caging_paths.hrh>" \
       
    85     "$${LITERAL_HASH}include <bldvariant.hrh>"
       
    86 MMP_RULES += mmpBlock