10-04-2012 10:59 AM
I am trying to build a small application that makes use of all the sensors available on the BB10 platform. (just to learn how they work, so I can use them as required in a school project). However, as soon as I add this to my code :
I get a build error :
Description Resource Path Location Type
fatal error: qmobilityglobal.h: No such file or directory ProblemReport line 45, external location: c:\bbndk\target_10_0_9_386\qnx6\usr\include\qt4\Qt
I have tried other includes but they all give build errors - either like this, or that the include cannot be resolved. This particular include is also used in this example : http://blackberry.github.com/Cascades-Samples/sens
Any tips or suggestions to solve this problem?
Solved! Go to Solution.
10-04-2012 11:14 AM
I found the solution after doing some more reading : https://developer.blackberry.com/cascades/document
It is important to add :
CONFIG += mobility
MOBILITY += sensors