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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Developer
Posts: 28
Registered: ‎12-19-2012
My Device: BB 10
My Carrier: BB
Accepted Solution

'QmlDocument' has no member named 'createRootNode'

Hello All,


I have just started the Development in BB 10 using cascade / C++,

And I have followed the first turorial tutorial from the Developer portal.

this took me around to days to sort out the Simulator/IDE Issues and the vertual machines ofcourse.

Anyways, the Issue is When I try to add some functionality to it like 


appPage = qml->createRootNode<Page>();


I got this error

'QmlDocument' has no member named 'createRootNode'


Now tell me one thing if the declaration and constructors or other parts are loaded then why its unable to find the remaing mart or methods from same class?



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


this worked perfectly fine.


Please help me in this regard.



Dear RIM, I really appriciate your effort to completely redesign the OS from ground-up.

But please make sure that a developer dont waste time in such configurations things. I know many are well aware of these but if I am concerned I am from XCODE background and not that much familier with Eclipse.So its like wasting time in these things which can be used to build great apps.





Posts: 37
Registered: ‎09-04-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: Vodafone Mumbai

Re: 'QmlDocument' has no member named 'createRootNode'

use createRootObject its changed in the gold sdk.
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: 'QmlDocument' has no member named 'createRootNode'

They got rid of createRootNode with Beta3, createRootObject is now the right method to use.
Like all of my posts