qtmobility/examples/sensors/accel_perf/README
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
     1 Note that this really belongs in a unit test that builds the library
       
     2 since it depends on a change to the library.
       
     3 
       
     4 For this to work accurately a check in QSensorBackend::newReadingAvailable()
       
     5 needs to be commented out while building the library. The check is:
       
     6 
       
     7     if (d->updatePolicy == QSensor::PolledUpdates)
       
     8         return; // We don't emit the signal if we're polling
       
     9 
       
    10 With this check in place, the use of sensor.poll() to measure performance
       
    11 does not work.