contentstorage/camificonengine/camificonengine.pro
changeset 112 dbfb5e38438b
child 125 26079c1bb561
equal deleted inserted replaced
107:b34d53f6acdf 112:dbfb5e38438b
       
     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 TARGET  = camificon
       
    19 
       
    20 PLUGIN_SUBDIR = /resource/qt/plugins/iconengines
       
    21 
       
    22 include (../../common.pri)
       
    23 
       
    24 QTDIR_build:DESTDIR  = $$QT_BUILD_TREE/plugins/iconengines
       
    25 target.path += $$[PLUGIN_SUBDIR]
       
    26 INSTALLS += target
       
    27 
       
    28 CONFIG += qt plugin
       
    29 
       
    30 TARGET = $$qtLibraryTarget($$TARGET)
       
    31 
       
    32 symbian: {
       
    33     TARGET.EPOCALLOWDLLDATA=1
       
    34     TARGET.CAPABILITY = All -Tcb
       
    35     TARGET = $${TARGET}$${QT_LIBINFIX}
       
    36     load(armcc_warnings)
       
    37 
       
    38     # load the environment specific feature definitions
       
    39     exists($${EPOCROOT}epoc32/tools/qt/mkspecs/features/environment.prf) {
       
    40         load($${EPOCROOT}epoc32/tools/qt/mkspecs/features/environment.prf)
       
    41     }
       
    42     LIBS +=  -laknicon
       
    43 }
       
    44 
       
    45 symbian: plugin { # copy qtstub and manifest
       
    46 
       
    47     pluginstub.sources = $${TARGET}.dll
       
    48     pluginstub.path = $$PLUGIN_SUBDIR
       
    49 
       
    50     DEPLOYMENT += pluginstub
       
    51 
       
    52     qtplugins.path = $$PLUGIN_SUBDIR
       
    53     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin    
       
    54     
       
    55     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)"
       
    56 }
       
    57 
       
    58 symbian:TARGET.UID3=0x2002DCF8
       
    59 
       
    60 include(camificonengine.pri)