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
New Developer
marc25v
Posts: 27
Registered: ‎07-24-2012
My Device: Blackberry Dev Alpha

"Not a type" Error

Hi,

 

I'm a beginner at programming and I'm having some difficulty with the following error.  When I run my app on my Alpha device, I get this error in the console:

 

t:bb::cascades::QmlDocument: error when loading QML from:   QUrl( xxxxxxxxxxxxxx

BoardReader is not a type   BoardReader {

 

How do I fix this?

 

Thanks!

Please use plain text.
Developer
trollixx
Posts: 60
Registered: ‎04-18-2012
My Device: BB10 Dev Alpha C

Re: "Not a type" Error

I think your QML-file isn't packaged into .bar, so you should check bar-desciptror.xml for this issue. Look at samples provided with SDK.
--
Oleg Shparber
Please use plain text.
New Developer
marc25v
Posts: 27
Registered: ‎07-24-2012
My Device: Blackberry Dev Alpha

Re: "Not a type" Error

I checked and it does get packaged in the bar file.  Any other thoughts?

 

Thanks!

Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha

Re: "Not a type" Error

Hi there!

 

As a first check, are you able to run provided sample applications?

 

Martin

 

Please use plain text.