taskswitcherapp/tsdevicedialogplugin/tsdevicedialogplugin.pro
branchGCC_SURGE
changeset 68 4c11ecddf6b2
parent 53 f75922b9e380
parent 61 2b1b11a301d2
equal deleted inserted replaced
53:f75922b9e380 68:4c11ecddf6b2
     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: tsdevicedialogplugin.pro
       
    15 #
       
    16 
       
    17 TEMPLATE = lib
       
    18 CONFIG += hb plugin mobility
       
    19 MOBILITY = serviceframework 
       
    20 
       
    21 include (../common.pri)
       
    22 
       
    23 HEADERS +=  inc/tsdevicedialog.h \
       
    24             inc/tsdevicedialogplugin.h \
       
    25             inc/tsmodel.h \
       
    26             inc/tsmodelitem.h \
       
    27             inc/tsentrymodelitem.h \
       
    28             inc/tsactivitymodelitem.h \
       
    29             inc/tstasksgrid.h \
       
    30             inc/tstasksgriditem.h \
       
    31             inc/tsdocumentloader.h \
       
    32             inc/tsdataroles.h \
       
    33 
       
    34 SOURCES +=  src/tsdevicedialog.cpp \
       
    35             src/tsdevicedialogplugin.cpp \
       
    36             src/tsmodel.cpp \
       
    37             src/tsentrymodelitem.cpp \
       
    38             src/tsactivitymodelitem.cpp \
       
    39             src/tstasksgrid.cpp \
       
    40             src/tstasksgriditem.cpp \
       
    41             src/tsdocumentloader.cpp \
       
    42 
       
    43 INCLUDEPATH += . \
       
    44                ./inc \
       
    45 
       
    46 LIBS +=     -lcaclient           
       
    47             
       
    48 TRANSLATIONS = taskswitcher.ts
       
    49 
       
    50 RESOURCES += tsdevicedialogplugin.qrc
       
    51                
       
    52 symbian {
       
    53     TARGET.CAPABILITY = CAP_ECOM_PLUGIN
       
    54     TARGET.UID3 = 0x2002677F
       
    55     pluginstub.sources = tsdevicedialogplugin.dll
       
    56     pluginstub.path = /resource/plugins/devicedialogs
       
    57     
       
    58     LIBS += -lxqsettingsmanager
       
    59     
       
    60     # ugly hack
       
    61     translation.sources = ./*.qm
       
    62     translation.path = $$QT_PLUGINS_BASE_DIR/../translations
       
    63 	
       
    64     DEPLOYMENT += pluginstub translation
       
    65     
       
    66     BLD_INF_RULES.prj_exports += \
       
    67     "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    68     "conf/tsdevicedialog.confml APP_LAYER_CONFML(tsdevicedialog.confml)" \
       
    69     "conf/tsdevicedialog_2002677F.crml APP_LAYER_CRML(tsdevicedialog_2002677F.crml)"
       
    70 }
       
    71 
       
    72 win32 {
       
    73     include ($$[QMAKE_MKSPECS]/features/hb_install.prf)
       
    74     DESTDIR = $$HB_PLUGINS_DIR/devicedialogs
       
    75 }