qtmobility/plugins/sensors/symbian/symbian.pro
changeset 8 71781823f776
parent 5 453da2cfceef
child 11 06b8e2af4411
equal deleted inserted replaced
5:453da2cfceef 8:71781823f776
     2 INCLUDEPATH+=../../sensors \epoc32\include\osextensions
     2 INCLUDEPATH+=../../sensors \epoc32\include\osextensions
     3 
     3 
     4 include(version.pri)
     4 include(version.pri)
     5 #include(symbian.pri)
     5 #include(symbian.pri)
     6 include(../../../common.pri)
     6 include(../../../common.pri)
       
     7 
       
     8 PLUGIN_TYPE = sensors
     7 
     9 
     8 TEMPLATE = lib
    10 TEMPLATE = lib
     9 CONFIG += plugin
    11 CONFIG += plugin
    10 TARGET = $$qtLibraryTarget(qtsensors_sym)
    12 TARGET = $$qtLibraryTarget(qtsensors_sym)
    11 
    13 
    41 QT=core
    43 QT=core
    42 CONFIG+=mobility
    44 CONFIG+=mobility
    43 MOBILITY+=sensors
    45 MOBILITY+=sensors
    44 DEFINES+=QT_MAKEDLL
    46 DEFINES+=QT_MAKEDLL
    45 
    47 
    46 #QMAKE_CXXFLAGS+=-Werror
       
    47 
       
    48 #MOC_DIR = moc/
       
    49 #OBJECTS_DIR = obj/
       
    50 
       
    51 #DESTDIR = $$OUTPUT_DIR/bin/examples/sensors
       
    52 #target.path = $$SOURCE_DIR/plugins/sensors
       
    53 #INSTALLS += target
       
    54 symbian {
    48 symbian {
       
    49     TARGET.UID3 = 0x2002BFC8
    55     TARGET.CAPABILITY = ALL -TCB    
    50     TARGET.CAPABILITY = ALL -TCB    
    56     LIBS += -lSensrvClient
    51     LIBS += -lSensrvClient
    57     LIBS += -lsensrvutil   
    52     LIBS += -lsensrvutil   
    58 }
    53 }
    59 symbian: {
    54 symbian: {
    60 # 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
    61 load(data_caging_paths)
    56 load(data_caging_paths)
    62  
    57  
    63 # Defines plugin files into Symbian .pkg package
    58 # Defines plugin files into Symbian .pkg package
    64 pluginDep.sources = qtsensors_sym.dll
    59 pluginDep.sources = qtsensors_sym.dll
    65 pluginDep.path = $$QT_PLUGINS_BASE_DIR/sensors
    60 pluginDep.path = $${QT_PLUGINS_BASE_DIR}/$${PLUGIN_TYPE}
    66 DEPLOYMENT += pluginDep
    61 DEPLOYMENT += pluginDep
    67 }
    62 }
    68  
    63 
    69 target.path += $$[QT_INSTALL_PLUGINS]/sensors
    64 target.path=$${QT_MOBILITY_PREFIX}/plugins/$${PLUGIN_TYPE}
       
    65 maemo6:target.path=$$[QT_INSTALL_PLUGINS]/$${PLUGIN_TYPE}
    70 INSTALLS += target
    66 INSTALLS += target
    71 
    67