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
Tuddrussel
Posts: 13
Registered: ‎04-15-2012
My Device: non-blackberry
My Carrier: non-blackberry
Accepted Solution

libblackberry.so (Shared library is corrupted)

Hi there,

I have compiled both ARM and x86 library from Gitorious and Github. The helloworld apps is opening fine with splashscreen at my simulator. ( I am deploying using QT Creator ). However, the button and GUI elements is not showing, I got following error below. Any help? Thanks. I am out of idea. 

 


QFactoryLoader::QFactoryLoader() looking at "/apps/ID.testDev_ID_________91b_____/native/plugins/platforms/libblackberry.so"

QLibraryPrivate::loadPlugin failed on "/apps/ID.testDev_ID_________91b_____/native/plugins/platforms/libblackberry.so" : "Cannot load library /apps/ID.testDev_ID_________91b_____/native/plugins/platforms/libblackberry.so: (Shared library is corrupted)"

"Cannot load library /apps/ID.testDev_ID_________91b_____/native/plugins/platforms/libblackberry.so: (Shared library is corrupted)"

could not load

QFactoryLoader::QFactoryLoader() looking at "/apps/ID.testDev_ID_________91b_____/native/plugins/platforms/libqminimal.so"

keys ("Minimal")

Failed to load platform plugin "blackberry". Available platforms are:

Minimal

Please use plain text.
New Developer
Tuddrussel
Posts: 13
Registered: ‎04-15-2012
My Device: non-blackberry
My Carrier: non-blackberry

Re: libblackberry.so (Shared library is corrupted)

[ Edited ]

Btw I have solved the problem after rearrange asset path before env var...

 

this is my xml

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<qnx xmlns="http://www.qnx.com/schemas/application/1.0">
<id>ID</id>
<name>QtHelloWorld</name>
<versionNumber>1.0.0</versionNumber>
<description>DESCRIPTION</description>

<initialWindow>
<systemChrome>none</systemChrome>
<transparent>false</transparent>
<autoOrients>true</autoOrients>
<aspectRatio>landscape</aspectRatio>
</initialWindow>

<asset entry="true" path="QtHelloWorld" type="Qnx/Elf">QtHelloWorld</asset>

<asset path="deploy/splashscreen.png">splashscreen.png</asset>
<asset path="deploy/icon.png">icon.png</asset>

<!-- These values will be replaced when deploying in Qt Creator -->
<asset path="deploy/lib">lib</asset>
<asset path="deploy/plugins">plugins</asset>
<asset path="deploy/imports">imports</asset>

<icon><image>icon.png</image></icon>
<splashscreen>splashscreen.png</splashscreen>

<action system="true">run_native</action>

<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
<env var="QT_PLUGIN_PATH" value="app/native/plugins"/>
<env var="QML_IMPORT_PATH" value="app/native/imports"/>
<env var="QT_DEBUG_PLUGINS" value="1" />
<arg>-platform</arg>
<arg>blackberry</arg>
</qnx>

Please use plain text.