securitysettings/cpwlansecurityuiplugins/cpwpaui/cpwpaui.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 WPA configuration
    14 # 	Control Panel UI for WPA/WPA2 only Security mode
    12 # %version: tr1cfwln#7 %
    15 #
       
    16 # %version: 15 %
       
    17 #
       
    18 
    13 TEMPLATE = lib
    19 TEMPLATE = lib
    14 TARGET = cpwpaui
    20 TARGET = cpwpaui
       
    21 
    15 DEPENDPATH += 
    22 DEPENDPATH += 
    16 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \
    23 
       
    24 INCLUDEPATH += \ 
       
    25 	$$MW_LAYER_SYSTEMINCLUDE \
    17     $$OS_LAYER_SYSTEMINCLUDE \
    26     $$OS_LAYER_SYSTEMINCLUDE \
    18     ../cpwpacmnui/inc \
    27     ../inc
    19     ../../inc
       
    20     
    28     
    21 CONFIG += hb \
    29 CONFIG += \
       
    30 	hb \
    22     plugin
    31     plugin
    23 LIBS += -lcpframework \
    32     
    24     -leapqtplugininfo \
    33 LIBS += \
       
    34 	-lcpframework \
    25     -lcpwpacmnui \
    35     -lcpwpacmnui \
    26     -lconnection_settings_shim
    36     -lconnection_settings_shim \
       
    37     -leapqtconfiginterface
       
    38     
    27 MOC_DIR = _moc
    39 MOC_DIR = _moc
    28 RCC_DIR = _rcc
    40 RCC_DIR = _rcc
    29 OBJECTS_DIR = _objects
    41 OBJECTS_DIR = _objects
    30 
    42 
    31 # Input
    43 # Input
    32 HEADERS += inc/wpakeyvalidator.h \
    44 HEADERS += \
    33     traces/OstTraceDefinitions.h \
    45 	traces/OstTraceDefinitions.h \
    34     inc/cpwpaui.h
    46     inc/cpwpaui.h
    35 SOURCES += src/wpakeyvalidator.cpp \
    47     
    36     src/cpwpaui.cpp
    48 SOURCES += src/cpwpaui.cpp
    37 symbian: { 
    49 
       
    50 symbian: 
       
    51 { 
       
    52 	TARGET.CAPABILITY = CAP_GENERAL_DLL
    38     TARGET.EPOCALLOWDLLDATA = 1
    53     TARGET.EPOCALLOWDLLDATA = 1
    39     TARGET.UID3 = 0x2002C301
    54     TARGET.UID3 = 0x2002C301
    40     LIBS += -leapqtconfiginterface
    55 
    41     BLD_INF_RULES.prj_exports += "rom/cpwpaui.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpwpaui.iby)"
       
    42 }
       
    43 symbian { 
       
    44     deploy.path = C:
    56     deploy.path = C:
    45     qtplugins.path = /resource/qt/plugins/controlpanel/wlansecurity
    57     qtplugins.path = /resource/qt/plugins/controlpanel/wlansecurity
    46     qtplugins.sources += qmakepluginstubs/cpwpaui.qtplugin
    58     qtplugins.sources += qmakepluginstubs/cpwpaui.qtplugin
       
    59     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
    47     
    60     
    48     # This is for new exporting system coming in garden
    61     BLD_INF_RULES.prj_exports += \
    49     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
    62     	"rom/cpwpaui.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpwpaui.iby)"
    50 }
    63 }
    51 
    64 
    52 # temporary not used; waiting for the latest .ts file ; accordingly export will change
    65 symbian:
    53 # translation file temporarily read as qt resource
    66 {
    54 # TRANSLATIONS += /resource/qtwlan_en_GB.ts
       
    55 
       
    56 # Temporary solution to fix tracecompiler
       
    57 # When tracecompiler is fixed, this can be removed
       
    58 symbian: {
       
    59     MMP_RULES += "USERINCLUDE traces"
    67     MMP_RULES += "USERINCLUDE traces"
    60 }
    68 }
    61 
    69 
    62 RESOURCES += resources/resource.qrc
    70 # common translation file for all plugins
       
    71 TRANSLATIONS = cpwlansecsettingsplugin.ts
    63 
    72 
    64 TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    65 dynamiclibrary.sources = cpwpacmnui.dll
       
    66 dynamiclibrary.path = /sys/bin
       
    67 plugin.sources += cpwpaui.dll
    73 plugin.sources += cpwpaui.dll
    68 plugin.path = /resource/qt/plugins/controlpanel
    74 plugin.path = /resource/qt/plugins/controlpanel
    69 DEPLOYMENT += plugin \
       
    70     dynamiclibrary
       
    71 
    75 
       
    76 DEPLOYMENT += plugin
       
    77