Tutorial: Create your first Cascades app
There isn't a right answer when deciding between the two solutions; it's more about what you're comfortable with. Building your UI using QML can be easier and faster than C++, and QML allows you to preview your UI in the Momentics IDE for BlackBerry. On the other hand, you might be more familiar with C++.
This tutorial shows you how to build the Lightning Crossfade sample. The app consists of a background, several images, and a Slider control. As you move the slider, the opacity of one of the images decreases, revealing another image behind it.
This tutorial uses a step-by-step approach to build an app from scratch using QML and C++. If you want to take a look at the source code for complete versions of the app, you can download the lightningcrossfadeqml and lightningcrossfadecpp samples and import them into the Momentics IDE. To learn how, see Importing and exporting projects.
You will learn to:
- Set up a project
- Use the tools to build and run an app
- Add controls and use layouts
- Use signals and slots
Last modified: 2015-03-31