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
Regular Visitor
Jokey
Posts: 1
Registered: ‎10-23-2011
My Device: Dev Alpha B
My Carrier: Telekom.de

Compiling asset resources

There is a little typo in https://developer.blackberry.com/cascades/documentation/getting_started/tools/compiling.html

 

 Creating a resource file qrc-assets.qrc and adding following line in .pro file RESOURCES += assets.qrc won't work.:Oops:

 

 Use RESOURCES += qrc-assets.qrc :smileyhappy:

Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: Compiling asset resources

Look at this thread, this was discussed already:

http://supportforums.blackberry.com/t5/Cascades-Development/issues-about-compiling-resources-to-spee...

 

Bottom line, when you correct that error, assets still wont compile.

 

Please use plain text.
Developer
jasoncheung
Posts: 67
Registered: ‎09-01-2012
My Device: Dev Alpha
My Carrier: Bell

Re: Compiling asset resources

That's not true, I've compiled my resources and my app works.

My Device-Release build uses this.

Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: Compiling asset resources

[ Edited ]

Are you sure that it uses compiled resources and not real ones? Check in you release .bar file, open it with 7zip and look are yours resources in it, or not. If they are in it then your app still use non compiled resources. If you find any .qml file inside your bar file, then your app still use uncompiled resources. 

 

I was able to create proper .qrc file, and it was inside .bar file as it should. But there was also .qml files. As soon i removed .qml files, and left only .qrc file, app wont start. Bottom line, app is still using uncompiled resources.

Please use plain text.