qtmobility/plugins/sensors/sensors.pro
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
     4 
     4 
     5 device_plugin=0
     5 device_plugin=0
     6 maemo5 {
     6 maemo5 {
     7     device_plugin=1
     7     device_plugin=1
     8     SUBDIRS += n900
     8     SUBDIRS += n900
       
     9 }
       
    10 
       
    11 symbian {
       
    12     exists($${EPOCROOT}epoc32/release/armv5/lib/SensrvClient.lib) {
       
    13         message("Sensor framework found")
       
    14         device_plugin=1                                                    
       
    15     } else {
       
    16         exists($${EPOCROOT}epoc32/release/armv5/lib/RRSensorApi.lib) {
       
    17             message("Sensor API found")
       
    18             device_plugin=1
       
    19             SUBDIRS += s60_sensor_api
       
    20         } else {
       
    21             message("No native sensor interface found")
       
    22             device_plugin=0
       
    23         }
       
    24     }
     9 }
    25 }
    10 
    26 
    11 SUBDIRS += generic
    27 SUBDIRS += generic
    12 
    28 
    13 !equals(device_plugin,1) {
    29 !equals(device_plugin,1) {