Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
xhotkey
Posts: 48
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile
Accepted Solution

error: 'PositioningMethod' has not been declared

 

error: 'PositioningMethod' has not been declared

 

This error occurs after I solved another issue in:

http://supportforums.blackberry.com/t5/Cascades-Development/error-QGeoPositionInfo-does-not-name-a-t...

 

Am I missing some include statement?

Which file do I need to include for PositioningMethod?

Please use plain text.
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: error: 'PositioningMethod' has not been declared

Try adding 

 

#include <QtMobilitySubset/QGeoPositionInfoSource>

 

Regards

Graham

Please use plain text.
Contributor
xhotkey
Posts: 48
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile

Re: error: 'PositioningMethod' has not been declared

fatal error: QtMobilitySubset/QGeoPositionInfoSource: No such file or directory
Please use plain text.
Developer
kylefowler
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: error: 'PositioningMethod' has not been declared

Please use plain text.