BB10: Create your first appJune 24, 2012
Tutorial at:
https://developer.blackberry.com/cascades/documentation/getting_started/first_app/index.htmlThe 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.
BB10 BloggingJune 24, 2012
As I start learning BB10, I'm going to use my website as a place to log what I'm learning and doing.
The log can be viewed as:
http://www.danielbigham.ca/cgi-bin/blog.pl?keywords=bb10