Reply
Thread Tools
Posts: 4 | Thanked: 1 time | Joined on Jan 2010 @ Tampere, Finland
#41
Anyone tried the QAccelerometer class? For me the sensor fails to start in simulator..

Code:
   
 //Initialize accelerometer
QAccelerometer* accelerometer = new QAccelerometer(this);
bool success = this->accelerometer->start();
qDebug() << success;
The code above outputs false.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:09.