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

Posts: 14
Registered: ‎11-24-2012
My Device: 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
Posts: 42
Registered: ‎09-27-2012
My Device: Z30

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. 




Hope this was helpful. Happy Coding!
I am on twitter @echoTown
Please use plain text.
Posts: 14
Registered: ‎11-24-2012
My Device: 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.
Posts: 571
Registered: ‎06-25-2010
My Device: Z10

Re: QtLocation lacks QLandmarks

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




Hope this helps.


Feel free to press the like button on the right side if you liked my attempts to help :-)
And please mark posts as solved if you think I found the solution or set you on its path. Thanks!
Follow me on Twitter: @mdwrim
Please use plain text.