Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
12-07-2012 12:25 PM
12-07-2012 01:27 PM
You definitely seem to be right about LD_LIBRARY_PATH not being set properly.
It seems no matter what I change my value to, for example:
<env var="LD_LIBRARY_PATH" value="cccc"/>
the manifest.mf file has this line in it:
Entry-Point: LD_LIBRARY_PATH=app/native/lib app/native/BBSliders
and it's only able to find the QtCore lib if I add it as an asset into that specific folder(app/native/lib) of the bar file... something I don't want to do.
I have no idea where it's getting the string "app/native/lib" from.
12-07-2012 02:17 PM
ok, I changed my debug configuration's environment variables to include "LD_LIBRARY_PATH" set to "/usr/lib/qt4/lib" and it works, so now the manifest.mf looks like:
Entry-Point: LD_LIBRARY_PATH=/usr/lib/qt4/lib app/native/BBSliders
Will these debug environment settings be set with .bar files exported for release? And any idea why LD_LIBRARY_PATH isn't being read from bar-descriptor.xml or what could be overriding it to "app/native/lib"?
btw, thanks for all the help so far.
12-07-2012 04:21 PM
figured it out, and sorry to waste your time, although you did teach me a few things about the ide.
It turns out I've been building all my apps with a version of qde from bbndk 2.0. I've been updating the SDK version in "Global QNX Settings" to the latest with each release, but never switching my taskbar shortcut to the newer ide. Now that I'm running and building with the latest qde it's all working, i.e. the LD_LIBRARY_PATH from the bar-descriptor.xml is being correctly propagated to the manifest.mf file. I'm actually kind of surprised that this is the first thing that's behaved incorrectly(as far as I know).