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
bobdodd
Posts: 116
Registered: ‎10-31-2012
My Device: BB10 Dev Alpha B
My Carrier: -

Re: Can't Build Sample C++/Cascades Project - make errors

Actually, one other difference is that you put:

 

MyClass *myObject = new MyClass();
qml->setContextProperty("myObject",myObject);

 after loading up the scene graph. it should probably be before that  (it may need access to myObject to render the page).

 

Nothing to do with the problem you are having, but you might want to look at that.

 

Bob

Please use plain text.
Contributor
danjohnson
Posts: 18
Registered: ‎10-09-2012
My Device: Blackberry 10 Dev Alpha Simulator
My Carrier: Verizon

Re: Can't Build Sample C++/Cascades Project - make errors

Ah, I just noticed that.  It is actually in the same order as yours, I just pasted it wrong when typing out the example for this post.  

Please use plain text.
New Contributor
k_waheed_kotb
Posts: 8
Registered: ‎07-20-2013
My Device: BB Z10, BB Q10
My Carrier: Vodafone

Re: Can't Build Sample C++/Cascades Project - make errors

This solved my problem :Punk:

Please use plain text.