appinstaller/AppinstUi/sifuidevicedialogplugin/sifuidevicedialogplugin.pro
changeset 25 98b66e4fb0be
child 29 26b6f0522fd8
equal deleted inserted replaced
24:84a16765cd86 25:98b66e4fb0be
       
     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 # Description: Software Install Framework (SIF) device dialogs plugin.
       
    15 #
       
    16 
       
    17 TEMPLATE = lib
       
    18 TARGET = sifuidevicedialogplugin
       
    19 CONFIG += plugin
       
    20 CONFIG += hb
       
    21 #TRANSLATIONS = sifuidevicedialogplugin.ts
       
    22 
       
    23 INCLUDEPATH += .
       
    24 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    25 INCLUDEPATH += ../sifuiinstallindicatorplugin/inc
       
    26 DEPENDPATH += .
       
    27 
       
    28 LIBS += -lQtPublishSubscribe
       
    29 
       
    30 HEADERS += inc/sifuidevicedialogplugin.h \
       
    31     inc/sifuidialogdefinitions.h \
       
    32     inc/sifuidialog.h \
       
    33     inc/sifuidialogtitlewidget.h \
       
    34     inc/sifuidialogcontentwidget.h
       
    35 
       
    36 SOURCES += src/sifuidevicedialogplugin.cpp \
       
    37     src/sifuidialog.cpp \
       
    38     src/sifuidialogtitlewidget.cpp \
       
    39     src/sifuidialogcontentwidget.cpp
       
    40 
       
    41 RESOURCES += sifuidevicedialogplugin.qrc
       
    42 
       
    43 symbian: {
       
    44     TARGET.EPOCALLOWDLLDATA = 1
       
    45     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    46     TARGET.UID3 = 0x2002C3AC
       
    47 
       
    48     pluginstub.sources = sifuidevicedialogplugin.dll
       
    49     pluginstub.path = /resource/plugins/devicedialogs
       
    50     DEPLOYMENT += pluginstub
       
    51 
       
    52 	LIBS += -lfbscli
       
    53 }
       
    54 
       
    55 BLD_INF_RULES.prj_exports += \
       
    56   "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    57   "qmakepluginstubs/sifuidevicedialogplugin.qtplugin /epoc32/data/z/pluginstub/sifuidevicedialogplugin.qtplugin" \
       
    58   "inc/sifuidialogdefinitions.h MW_LAYER_PLATFORM_EXPORT_PATH(sifuidialogdefinitions.h)" \
       
    59   "rom/sifuidevicedialogplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(sifuidevicedialogplugin.iby)" \
       
    60   "rom/sifuidevicedialogplugin_resources.iby LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(sifuidevicedialogplugin_resources.iby)"
       
    61 
       
    62 LIBS += -lxqservice
       
    63 
       
    64 tests {
       
    65     test.depends = sub-src
       
    66     test.commands += cd tsrc && $(MAKE) test
       
    67     autotest.depends = sub-src
       
    68     autotest.commands += cd tsrc && $(MAKE) autotest
       
    69     QMAKE_EXTRA_TARGETS += test autotest
       
    70 }