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
boris812
Posts: 22
Registered: ‎02-02-2012
My Device: none
My Carrier: none

Re: Installing QT in the QNX IDE

Am I correct that I can use this method for actual hardware only? So, for simulator I should compile and install the x86 libraries same way?

Please use plain text.
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Installing QT in the QNX IDE

Yes you are correct, for Simulator build with 

./configure-qsk x86

 

but make sure you have separate folders, building one source for different targets did not work for me

Please use plain text.
Contributor
boris812
Posts: 22
Registered: ‎02-02-2012
My Device: none
My Carrier: none

Re: Installing QT in the QNX IDE

I've compiled the x86 libraries, added them to Simulator Configuration like before, but i'm getting the following error when i'm trying to build an x86 qt application:

no such instruction: `swpb %bl,%al,[%edx]'

Can anybody help me? Thanks in advance.

Please use plain text.
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Installing QT in the QNX IDE

Go to Project Settings->C/C++ Build->Settings->QCC Complier->Preprocessor->Defines and add QT_BOOTSTRAPPED

Please use plain text.
Contributor
boris812
Posts: 22
Registered: ‎02-02-2012
My Device: none
My Carrier: none

Re: Installing QT in the QNX IDE

[ Edited ]

Thank you wery much. I don't get error any more.

Please use plain text.
Visitor
newf604
Posts: 1
Registered: ‎02-07-2012
My Device: PlayBook/Torch9800
My Carrier: Bell/Rogers/Fido

Re: Installing QT in the QNX IDE

Have you set your build environment variables up correctly?  For example, on OS X:

 

computer:~ user$ . /Developer/SDKs/bbndk-2.0.0-beta3/bbndk-env.sh

Please use plain text.