phoneplugins/infowidgetplugin/infowidgetprovider/infowidgetprovider.pri
changeset 22 6bb1b21d2484
child 27 2f8f8080a020
equal deleted inserted replaced
21:92ab7f8d0eab 22:6bb1b21d2484
       
     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 
       
    18 HEADERS += ./inc/infowidgetprovider.h \
       
    19            ./inc/infowidgetlogging.h \
       
    20            ./infowidget/inc/infowidget.h \
       
    21            ./infowidget/inc/infowidgetlayoutmanager.h \
       
    22            ./infowidget/inc/infowidgetpreferences.h \
       
    23            ./infowidget/inc/infowidgetengine.h 
       
    24 
       
    25 symbian: {
       
    26     HEADERS += ./infowidget/inc/infowidgetnetworkhandler.h \
       
    27                ./infowidget/inc/infowidgetsathandler.h \
       
    28                ./infowidget/inc/infowidgetlinehandler.h
       
    29 } 
       
    30            
       
    31 SOURCES += ./src/infowidgetprovider.cpp \
       
    32             ./infowidget/src/infowidget.cpp \
       
    33            ./infowidget/src/infowidgetlayoutmanager.cpp \
       
    34            ./infowidget/src/infowidgetengine.cpp 
       
    35                     
       
    36 symbian: {
       
    37     SOURCES += ./infowidget/src/infowidgetpreferences.cpp \
       
    38                ./infowidget/src/infowidgetnetworkhandler.cpp \
       
    39                ./infowidget/src/infowidgetsathandler.cpp \
       
    40                ./infowidget/src/infowidgetlinehandler.cpp 
       
    41 } else: { 
       
    42     SOURCES += ./infowidget/src/infowidgetengine_s.cpp \
       
    43                ./infowidget/src/infowidgetpreferences_s.cpp
       
    44 }
       
    45 
       
    46 defineTest(exportResources) {
       
    47     symbian {
       
    48         for(subdirs, 1) {
       
    49             entries = $$files($$subdirs)
       
    50             for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)"
       
    51         }
       
    52         export ( BLD_INF_RULES.prj_exports)
       
    53     }
       
    54 }
       
    55 
       
    56 symbian: plugin { # copy qtstub and manifest
       
    57 
       
    58     pluginstub.sources = $${TARGET}.dll
       
    59     pluginstub.path = $$PLUGIN_SUBDIR
       
    60 
       
    61     DEPLOYMENT += pluginstub
       
    62 
       
    63     qtplugins.path = $$PLUGIN_SUBDIR
       
    64     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
       
    65     contains(MOBILITY, serviceframework):BLD_INF_RULES.prj_exports += "resource/$${TARGET}.s60xml z:$$qtplugins.path/$${TARGET}.xml"
       
    66     
       
    67     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)"
       
    68 }