07-26-2013 01:21 AM
i want to use QAccelerometer and QAccelerometerReading class in my app. So, which all libs to include for them.
And where will i get the list of libs to include for using these classes.
Solved! Go to Solution.
07-26-2013 02:04 AM
Add following to your .pro file:
CONFIG += mobility MOBILITY += sensors
You can read more about using sensors under BlackBerry 10 here: https://developer.blackberry.com/cascades/document
07-26-2013 02:09 AM - edited 07-26-2013 02:12 AM
I am using these in .pro but then also i am getting the errors
Unresolved inclusion: <QtSensors/QAccelerometerReading>
Unresolved inclusion: <QtSensors/QAccelerometer>
'QAccelerometer' does not name a type
07-26-2013 02:13 AM
07-26-2013 02:14 AM