qtmobility/plugins/sensors/symbian/symbian.pro
changeset 11 06b8e2af4411
parent 8 71781823f776
child 14 6fbed849b4f4
equal deleted inserted replaced
8:71781823f776 11:06b8e2af4411
     1 INCLUDEPATH+=../../../src/sensors
     1 INCLUDEPATH+=../../../src/sensors
     2 INCLUDEPATH+=../../sensors \epoc32\include\osextensions
     2 INCLUDEPATH+=../../sensors \epoc32\include\osextensions
     3 
       
     4 include(version.pri)
       
     5 #include(symbian.pri)
       
     6 include(../../../common.pri)
       
     7 
     3 
     8 PLUGIN_TYPE = sensors
     4 PLUGIN_TYPE = sensors
     9 
     5 
    10 TEMPLATE = lib
     6 TEMPLATE = lib
    11 CONFIG += plugin
     7 CONFIG += plugin
    12 TARGET = $$qtLibraryTarget(qtsensors_sym)
     8 TARGET = $$qtLibraryTarget(qtsensors_sym)
       
     9 
       
    10 include(version.pri)
       
    11 #include(symbian.pri)
       
    12 include(../../../common.pri)
    13 
    13 
    14 SOURCES +=  \			
    14 SOURCES +=  \			
    15 			sensorbackendsym.cpp \
    15 			sensorbackendsym.cpp \
    16 			proximitysensorsym.cpp \
    16 			proximitysensorsym.cpp \
    17 			ambientlightsensorsym.cpp \
    17 			ambientlightsensorsym.cpp \
    50     TARGET.CAPABILITY = ALL -TCB    
    50     TARGET.CAPABILITY = ALL -TCB    
    51     LIBS += -lSensrvClient
    51     LIBS += -lSensrvClient
    52     LIBS += -lsensrvutil   
    52     LIBS += -lsensrvutil   
    53 }
    53 }
    54 symbian: {
    54 symbian: {
    55 # Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files
    55     # Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files
    56 load(data_caging_paths)
    56     load(data_caging_paths)
    57  
    57  
    58 # Defines plugin files into Symbian .pkg package
    58     # Defines plugin files into Symbian .pkg package
    59 pluginDep.sources = qtsensors_sym.dll
    59     pluginDep.sources = qtsensors_sym.dll
    60 pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE}
    60     pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE}
    61 DEPLOYMENT += pluginDep
    61     DEPLOYMENT += pluginDep
    62 }
    62 }
    63 
       
    64 target.path=$${QT_MOBILITY_PREFIX}/plugins/$${PLUGIN_TYPE}
       
    65 maemo6:target.path=$$[QT_INSTALL_PLUGINS]/$${PLUGIN_TYPE}
       
    66 INSTALLS += target
       
    67