securitysettings/cpwlansecurityuiplugins/cpwpa2ui/cpwpa2ui.pro
changeset 22 093cf0757204
child 26 9abfd4f00d37
equal deleted inserted replaced
20:8b3129ac4c0f 22:093cf0757204
       
     1 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of the License "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 # Initial Contributors:
       
     8 # Nokia Corporation - initial contribution.
       
     9 # Contributors:
       
    10 # Description:
       
    11 # %version: tr1cfwln#5 %
       
    12 TEMPLATE = lib
       
    13 TARGET = cpwpa2ui
       
    14 DEPENDPATH += 
       
    15 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \
       
    16     $$OS_LAYER_SYSTEMINCLUDE \
       
    17     ../cpwpacmnui/inc \
       
    18     ../../inc
       
    19     
       
    20 CONFIG += hb \
       
    21     plugin
       
    22 LIBS += -lcpframework \
       
    23     -leapqtplugininfo \
       
    24     -lcpwpacmnui \
       
    25     -lconnection_settings_shim
       
    26 MOC_DIR = _moc
       
    27 RCC_DIR = _rcc
       
    28 OBJECTS_DIR = _objects
       
    29 
       
    30 # Input
       
    31 HEADERS += inc/wpa2keyvalidator.h \
       
    32     traces/OstTraceDefinitions.h \
       
    33     inc/cpwpa2ui.h
       
    34 SOURCES += src/wpa2keyvalidator.cpp \
       
    35     src/cpwpa2ui.cpp
       
    36 symbian: { 
       
    37     TARGET.EPOCALLOWDLLDATA = 1
       
    38     TARGET.UID3 = 0x2002DC73
       
    39     LIBS += -leapqtconfiginterface
       
    40     BLD_INF_RULES.prj_exports += "rom/cpwpa2ui.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpwpa2ui.iby)"
       
    41 }
       
    42 symbian { 
       
    43     deploy.path = C:
       
    44     qtplugins.path = /resource/qt/plugins/controlpanel/wlansecurity
       
    45     qtplugins.sources += qmakepluginstubs/cpwpa2ui.qtplugin
       
    46     
       
    47     # This is for new exporting system coming in garden
       
    48     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
       
    49 }
       
    50 
       
    51 # Temporary solution to fix tracecompiler
       
    52 # When tracecompiler is fixed, this can be removed
       
    53 symbian: {
       
    54     MMP_RULES += "USERINCLUDE traces"
       
    55 }
       
    56 
       
    57 # temporary not used; waiting for the latest .ts file ; accordingly export will change
       
    58 # translation file temporarily read as qt resource
       
    59 # TRANSLATIONS += /resource/qtwlan_en_GB.ts
       
    60 
       
    61 RESOURCES += resources/resource.qrc
       
    62 
       
    63 TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    64 dynamiclibrary.sources = cpwpacmnui.dll
       
    65 dynamiclibrary.path = /sys/bin
       
    66 plugin.sources += cpwpa2ui.dll
       
    67 plugin.path = /resource/qt/plugins/controlpanel
       
    68 DEPLOYMENT += plugin \
       
    69     dynamiclibrary