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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums on April 1st. 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


Reply
Highlighted
Contributor
Posts: 11
Registered: ‎01-15-2013
My Device: Playbook 32
My Carrier: n/a
Accepted Solution

qmake configuration so that x86 compilation is used

Hello everyone.  I've been having trouble with the QNX IDE reporting 'out of memory' which is an error I am familiar with since I use Ecplise frequently.  

 

I would like to use Makefiles for compilation of a BB10 NDK project.  I have used qmake to generate Makefiles and successfully compiled them.  I am a new Blackberry developer and I need to test my code using the simulator seeing as I do not have an alpha BB10 device and BB10 is not yet available for PlayBook.  

 

How do I tell qmake to generate Makefiles suitable for the simulator?

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: qmake configuration so that x86 compilation is used

In QtCreator, passing -spec blackberry-x86-qcc to qmake changes the compiler settings used, so you get x86 build.
Contributor
Posts: 11
Registered: ‎01-15-2013
My Device: Playbook 32
My Carrier: n/a

Re: qmake configuration so that x86 compilation is used

Thanks!. The -spec option isn't printed using qmake --help

Just to be sure QtCreator isn't provided for free correct?
Developer
Posts: 195
Registered: ‎05-09-2012
My Device: Playbook, Z10 LE

Re: qmake configuration so that x86 compilation is used

How do I use that:  -spec blackberry-x86-qcc ? Smiley Happy 

 

In Qt Creator I have to use just "blackberry-x86-qcc" in the mkspec line? What is "-spec" in Qt Creator for?

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: qmake configuration so that x86 compilation is used

You're wrong - Qt SDK which includes QtCreator(or you can download it separately) is provided for free.