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
Developer
Posts: 163
Registered: ‎01-30-2013
My Device: Blackberry 10 Simulator

Hello World C/C++ application on Simulator Blackberry

[ Edited ]

Hello,

 

I have downloaded Cascades SDK https://developer.blackberry.com/cascades/ in order to be able to build C/C++ applications on Blackberry. I have also downloaded a Simulator, which I ran using VMWare Fusion. When I try to run just some simple empty/"hello world" project I get an error (image attached).

Any help appreciated.

 

ps. Is there no some nice link which shows how to create some Hello World application for C/C++ using Simulator on Blackberry 10? Thanks.

 

Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: Hello World C/C++ application on Simulator Blackberry

There are many sample projects.

 

https://developer.blackberry.com/cascades/sampleapps/

 

There is also a basic Hello Cascades sample on this site.

 

https://developer.blackberry.com/cascades/files/release/samples/hellocascades.zip

Developer
Posts: 103
Registered: ‎12-31-2012
My Device: Blackberry 9810
My Carrier: Verizon

Re: Hello World C/C++ application on Simulator Blackberry

https://developer.blackberry.com/cascades/documentation/getting_started/first_app/

 

Although, not the 'Hello World', the above link takes you step by step into creating your very first application via Cascades.

 

The steps to

 * Setting up a project

 * Running the app, and

 * Launching the app

 

are explained.

 

- Dishooom

 

Hope this helps

Developer
Posts: 163
Registered: ‎01-30-2013
My Device: Blackberry 10 Simulator

Re: Hello World C/C++ application on Simulator Blackberry

Thanks I have seen some samples and I am working on some of them now; The unexpected thing for me was seems I can use both QML and C++ to build apps right? Which one should I prefer, can QML be used to create complex apps? thanks.
Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: Hello World C/C++ application on Simulator Blackberry

QML should be used to create the user interface. It is a lot easier and faster to develop in QML than in C++. But the features of QML are almost limited to UI development. So everything else has to be done in C++.

Highlighted
Developer
Posts: 163
Registered: ‎01-30-2013
My Device: Blackberry 10 Simulator

Re: Hello World C/C++ application on Simulator Blackberry

Thanks, so basically we can combine them