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
Trusted Contributor
pigling
Posts: 104
Registered: ‎02-05-2012
My Device: Bold 9900 (primary) Z10 LE (secondary)
My Carrier: Singtel
Accepted Solution

Qt.lab.particles not installed in Blackberry 10

Hi,

I am trying to play QML demo "SameGame" on Blackberry 10. I find the error:

.../BoomBlock.qml:43 modu
le "Qt.labs.particles" is not installed

 But I have see "libqmlparticlesplugin.so" in the alpha device folder. Why can't it run due to not installed components? Thanks.

Please use plain text.
Developer
AvisDx
Posts: 101
Registered: ‎12-02-2012
My Device: Z10 LE, PlayBook 32GB
My Carrier: Beeline

Re: Qt.lab.particles not installed in Blackberry 10

You need to edit bar-descriptor.xml

find there <env value> tag with QML_IMPORT_PATH

and add /usr/lib/qt4/imports so it will look like

<env value="app/native/imports:/usr/lib/qt4/imports" var="QML_IMPORT_PATH"/>



My BB10 apps: Photo Memo | TriQuick | SkidStone | MeeBirthdays
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post.
Please use plain text.