 |
BB10: Create your first app
Tutorial at:
https://developer.blackberry.com/cascades/documentation/getting_started/first_app/index.html
The tutorial instructs you:
"In the QNX Momentics IDE, click File > New > BlackBerry Cascades C++ Project."
But "BlackBerry Cascades C++ Project" isn't one of the options.
Instead, you have to select Other, and then browse under the BlackBerry Cascades folder.
I needed to select Project -> Build Configurations -> Set Active -> Simulator Debug.
Both the QML and C++ UI tutorials were straightforward and the resulting app is pretty slick!
Two minor comments:
First:
QObject::connect(opacitySlider, SIGNAL(valueChanging(float)), day, SLOT(setOpacity(float)));
|
|
... strikes me as somewhat novel. I'll have to see other examples of this to get a sense for the limitations of this approach, etc.
My other comment is that having to write:
| HorizontalAlignment::Center |
|
... every time is a bit verbose. But I suppose that is the cost one must pay for constructing a UI in C++ code rather than QML. |
|
 |