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 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.


Reply
Contributor
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".

Developer
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.
Highlighted
BlackBerry Development Advisor
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)

Developer
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...

Contributor
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?

Contributor
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!

Developer
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.

Contributor
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

Developer
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.

New Developer
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