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
andreagrandi
Posts: 18
Registered: ‎02-14-2012
My Device: PlayBook Simulator
My Carrier: None

Re: Unable to start QtHelloWorld due to error 8

I've now followed all your instructions on the tutorial yoou told me to follow. The compilation phase is fine again (I just had to remove that bbssupport ecc...), the deploy phase is fine, but when I execute the app on the simulatore I get the same error: "Unable to run ....... due to Error 9".

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

Re: Unable to start QtHelloWorld due to error 8

I PM'd you with my e-mail, please send me your .bar file.
Please use plain text.
BlackBerry Development Advisor
elena_laskavaia
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: Unable to start QtHelloWorld due to error 8

If you have error 9 restart your playbook (same action for other errors except 8 - bad binary, and 13 - permission denied)

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

Re: Unable to start QtHelloWorld due to error 8

I've tried Andrea's bar file on my Simulator and got 'Failed to load platform plugin "blackberry" and available platforms are: lists nothing. I do see libblackberry.so in native/lib/platforms. There are other cases when it can happen, troubleshooting...

Please use plain text.
Contributor
andreagrandi
Posts: 18
Registered: ‎02-14-2012
My Device: PlayBook Simulator
My Carrier: None

Re: Unable to start QtHelloWorld due to error 8

@elena: I really would like to have a real Playbook to develop with, but I only have a Simulator to test my application. I'm trying to port my existing Qt/QML app to Playbook to see if I can get one trough this offer http://us.blackberry.com/developers/tablet/playbook_offer2012.jsp

any news about when a new version of qt-qnx will be available?

Please use plain text.
Contributor
andreagrandi
Posts: 18
Registered: ‎02-14-2012
My Device: PlayBook Simulator
My Carrier: None

Re: Unable to start QtHelloWorld due to error 8

Resetting the Simulator actually fixed my problem (at least for now).

I'll do other tests and I'll try to prepare a more complete step-by-step documentation.

 

Thanks!

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

Re: Unable to start QtHelloWorld due to error 8

Were you able to run it without 

<env var="LD_LIBRARY_PATH" value="app/native/lib"/>

in your .xml file?

I was not.

Please use plain text.
Contributor
andreagrandi
Posts: 18
Registered: ‎02-14-2012
My Device: PlayBook Simulator
My Carrier: None

Re: Unable to start QtHelloWorld due to error 8

I used exactly this XML code http://pastebin.com/xPxvFAVT

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

Re: Unable to start QtHelloWorld due to error 8

Good thanks, then it makes sense. These variables were added by me.

Please use plain text.
New Developer
vladest
Posts: 88
Registered: ‎06-16-2012
My Device: N950/E7/N808/N9/X7/BB10 Alpha
My Carrier: Kievstar

Re: Unable to start QtHelloWorld due to error 8

Hi

I'm trying to play with Qt on Simulator but after deploying test app to Simulator, the app failed to run with same error 8

As far as I understood I have to build app for x86. How to do this? (I'm on Win7) Do I need to provide Qt libs for x86 alsoor they already lives on Simulator

 

thanks for help

Qt/Symbian/Meego/BB10/Cascades developer
Please use plain text.