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