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
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: issues about compiling resources to speed up qml loading

Did you manage to compile images in resource file too?

Developer
Posts: 291
Registered: ‎10-15-2012
My Device: bb10 developer
My Carrier: Orange

Re: issues about compiling resources to speed up qml loading

No, that doesn't appear to work - others have reported the same thing

Just the QML and Javascript (.js) files go in the <qresource> section of the assets.qrc file
Developer
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile

Re: issues about compiling resources to speed up qml loading

Thank you very much.

I think I have no qml issues

compiling images is another issue.

New Developer
Posts: 14
Registered: ‎06-24-2013
My Device: Blackberry Z10 Developer Edition
My Carrier: Wind

Re: issues about compiling resources to speed up qml loading

What about using other qml direclty in main.qml?

Example:

 

//main.qml

Page{

    HP{     //this is HP.qml

        id: myHPComp

    }

}

 

I receive HP is not a type...

Highlighted
New Developer
Posts: 14
Registered: ‎06-24-2013
My Device: Blackberry Z10 Developer Edition
My Carrier: Wind

Re: issues about compiling resources to speed up qml loading

I solved the issue, using alias in qrc file.

I hope this could be useful for someone.

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: issues about compiling resources to speed up qml loading

Let's not double post...

 

http://supportforums.blackberry.com/t5/Native-Development/QML-obfuscation/m-p/2593061#M47872


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.