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
jsprenger
Posts: 12
Registered: ‎03-12-2012
My Device: playbook
My Carrier: verizon

Building and Debugging Qt Apps on Playbook

I've gone through and built the Qt helloworld example app (H.E.C. Geeks post, Oct 24,2011) and have that working fine. http://hecgeek.blogspot.com/2011/10/qt-for-blackberry-playbook.html

 

Now I'd like to get the Qt demo apps running on my playbook, but am stuck. I can compile (using qmake, make) sign and upload just fine. But when running the app, it simply starts, then shuts down. I'm assuming it crashes, and so i need to debug. I've tried this with both the "chip" demo and the "spreadsheet" demo.

 

1. Are there any docs regarding how to debug a running application on both the simulator and the pb device?

I am not building using the Momentics IDE. (... see next question...)

 

2. How does one configure and build a Qt application with momentics IDE? I am quite familiar with building and running Qt apps with Qt Creator and also Visual Studio.

 

Please point me in the right direction for the docs. If no such docs exist, then any help will be appreciated and I will create a tutorial on how to build the Qt Demo apps and get them running in  the simulator and on the playbook device.  

 

Thanks. 

Please use plain text.
Contributor
jsprenger
Posts: 12
Registered: ‎03-12-2012
My Device: playbook
My Carrier: verizon

Re: Building and Debugging Qt Apps on Playbook

I've seen John Heron's post about building using Qt Creator on the PB, and from that and other readings, I get the impression that Momentics IDE is not the preferred tool to build Qt apps for the PB.

 

jheron's post: How to buid sign and deploy from the QtSDK

http://supportforums.blackberry.com/t5/Native-SDK-for-BlackBerry-Tablet/How-to-buid-sign-and-deploy-...

 

I also see that debugging is not yet an option under QtCreator + PB.

 

So (back to my first question), how does one debug an application on the playbook.

I'm running Linux Mint as my desktop with the rim/git clone for qt.

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

Re: Building and Debugging Qt Apps on Playbook

It was covered number of times here.

Please use plain text.
Contributor
jsprenger
Posts: 12
Registered: ‎03-12-2012
My Device: playbook
My Carrier: verizon

Re: Building and Debugging Qt Apps on Playbook

When you say "here" did you mean to include a link or reference?

 

And by "it" do you mean "debugging Qt applications on the Playbook" using:

 

command line tools

or

the Qt Creator application

or

Momentics?

 

Your post is not very helpful (actually, not helpful at all), so I'm going to assume that you meant to include something helpful and just hit Post prematurely.

 

Jeff.

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

Re: Building and Debugging Qt Apps on Playbook

I used QT Creator to design API and then used Momentics for debugging/deploying. One of this article can provide 'guidance' just remember to replace Qt libaries compiled for Simulator (x86) by libraries compiled for Playbook (arm)

http://bgmotey.blogspot.com/2012/02/qthelloworld-in-momentics-ide-for.html

http://bgmotey.blogspot.com/2012/03/qthelloworld-in-momentics-ide-for-ms.html

 

Please use plain text.