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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 14
Registered: ‎11-24-2012
My Device: none
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?

BlackBerry Development Advisor
Posts: 50
Registered: ‎09-27-2012
My Device: Passport
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. 




Hope this was helpful. Happy Coding!
EK @echotown
Posts: 14
Registered: ‎11-24-2012
My Device: none
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.

Posts: 571
Registered: ‎06-25-2010
My Device: Z10
My Carrier: Vodafone

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