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

Testing and Deployment

Reply
Developer
Posts: 613
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use
Accepted Solution

App.cpp Errors 10.0.9 IDE/SDK Unable to Build

Errors are thrown when a new Cascades Project is generated in the new 10.0.9 IDE/SDK release.

The following lines give the error.

App.cpp

 

 AbstractPane *root = qml->createRootNode<AbstractPane>();
    Application::setScene(root);

 

How do you fix this. Also, cannot build projects anymore.
Is this a known bug?



Developer
Posts: 613
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: App.cpp Errors 10.0.9 IDE/SDK Unable to Build

Found fix:

 

AbstractPane *root = qml->createRootNode<AbstractPane>();

 needs to be

 

AbstractPane *root = qml->createRootObject<AbstractPane>();

 via https://developer.blackberry.com/cascades/documentation/dev/upgrading/index.html