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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Contributor
caco3
Posts: 14
Registered: ‎11-24-2012
My Carrier: None

QtLocation lacks QLandmarks

I am looking into porting a C++/Qt application to BB 10.

Now I see that QtLocation is only implemented in a subset: https://github.com/blackberry/QtLocationSubset

I need QLandmarks eccessively and dont think I easily can get around that. Is there a way around those missing libraries? Could I use/compile my own Qt version?

Will the Subset sometimes get completed?

Please use plain text.
BlackBerry Development Advisor
EunKyung
Posts: 3
Registered: ‎09-27-2012
My Carrier: Bell

Re: QtLocation lacks QLandmarks

[ Edited ]

I'd have to double check for the specific Qt libiray compatibitly with NDK but you can compile and run Qt applications on BlackBerry 10.  The link below would help you to bring your Qt application to the BlackBerry 10 platform.  It talks about different porting options for Qt code based applications. 

 

http://hosting.desire2learncapture.com/RIM/1/watch/69.aspx?q=qt

 

Please use plain text.
Contributor
caco3
Posts: 14
Registered: ‎11-24-2012
My Carrier: None

Re: QtLocation lacks QLandmarks

Thank you for looking into this.

 

I will have a look on the mentioned präsentation.

 

I am able to compile simple C++/Qt project with QtCreator and also to upload and run them on the simulator.

For that I am using the Qt version installed with the NDK (4.8.3).

If I understand (qt-project.org/wiki/Qt-Creator-with-BlackBerry-10) right, I also can compile and use my own Qt version.

So I compiled my own Qt 4.8.3 + qnx-qt-mobility according to http://qt-project.org/wiki/Building-Qt4-for-Blackberry.

This works without issues, but still misses the QLocation library.

So I thought about integrating it from http://qt.gitorious.org/qt/qtlocation, but I could not to figure out how to do that. I guess I would have to modify some config or makefiles.

 

It would be great if you could guide me how to solve this challenge.

Please use plain text.
BlackBerry Development Advisor
mwoolley
Posts: 168
Registered: ‎06-25-2010
My Carrier: Vodafone

Re: QtLocation lacks QLandmarks

It's recommended that you use the Geographic classes and its sub-classes.

 

http://developer/cascades/reference/bb__platform__geo__geographic.html

 

Hope this helps.

 

Please use plain text.