diff -r cfcbf08528c4 -r 2b40d63a9c3d qtmobility/examples/sensors/accel_perf/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qtmobility/examples/sensors/accel_perf/README Fri Apr 16 15:51:22 2010 +0300 @@ -0,0 +1,11 @@ +Note that this really belongs in a unit test that builds the library +since it depends on a change to the library. + +For this to work accurately a check in QSensorBackend::newReadingAvailable() +needs to be commented out while building the library. The check is: + + if (d->updatePolicy == QSensor::PolledUpdates) + return; // We don't emit the signal if we're polling + +With this check in place, the use of sensor.poll() to measure performance +does not work.