phoneplugins/hsdialerwidgetplugin/hsdialerwidgetplugin.pri
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     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 HEADERS += ./inc/*.h
       
    18 
       
    19 SOURCES += ./src/*.cpp
       
    20 
       
    21 defineTest(exportResources) {
       
    22     symbian {
       
    23         for(subdirs, 1) {
       
    24             entries = $$files($$subdirs)
       
    25             for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)"
       
    26         }
       
    27         export ( BLD_INF_RULES.prj_exports)
       
    28     }
       
    29 }
       
    30 
       
    31 symbian: plugin { # copy qtstub and manifest
       
    32 
       
    33     pluginstub.sources = $${TARGET}.dll
       
    34     pluginstub.path = $$PLUGIN_SUBDIR
       
    35 
       
    36     DEPLOYMENT += pluginstub
       
    37 
       
    38     qtplugins.path = $$PLUGIN_SUBDIR
       
    39     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
       
    40 
       
    41     message(Remove "contains(MOBILITY, serviceframework)" after the QtSF refactorig is done!)
       
    42         
       
    43     !contains(MOBILITY, serviceframework):qtplugins.sources += resource/$${TARGET}.manifest
       
    44     contains(MOBILITY, serviceframework):BLD_INF_RULES.prj_exports += "resource/$${TARGET}.s60xml z:$$qtplugins.path/$${TARGET}.xml"
       
    45     
       
    46     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)"
       
    47 }