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 Contributor
Posts: 7
Registered: ‎01-01-2013
My Device: BB10 Dev Alpha
My Carrier: O2 Germany

Bug Report(?) : qmldir file not working in NDK version 10.1.0.338

Hi out there! I have a BB10 cascades app that heavily relies on the qmldir file as I split up my qml files into folders to have a better overview of my GUI. In NDK version 10.1.0.338 this doesn't work and my main qml file throws errors, that descent gui files could not be located.

 

Possible solutions would be

 

  1. Include all folders with include"<FOLDERNAME>" in the including qml files
  2. Put all the qml files into the same folder

Both solutions are not quite nice as I have many qml files and using the first solution may still cause errors if you forget to do so in new files. Also the overview aspect of my approach to keep track of your gui is lost in solution 2.

 

I tried to verify that it is really the problem of the qmldir file (beeing ignored) by trying to reference the fiels with their "absolute" path: asset:///qml/subdir/subsubdir/file.qml

 

So is this a bug in 10.1.0.338 or is there simply a different way to handle the qmldir files in this version?

Contributor
Posts: 15
Registered: ‎11-01-2012
My Device: Blackberry 10
My Carrier: RIM

Re: Bug Report(?) : qmldir file not working in NDK version 10.1.0.338

it seems still not working in v10.1.0.807

 

or is there any other settings to make it work?