12-11-2012 05:40 PM
I followed the instructions to update existing BETA 4 apps to the latest GOLD release from here
https://developer.blackberry.com/cascades/document
updated the .pro file, the main.cpp and the bar-descriptor.xml file appropriately.
However - the app fails to launch on the device when I build for Device-Release. Did not change the Device-Debug obviously and that works fine.
The error message is "Unable to release application on target"
Anyone has a clue what's wrong?
12-11-2012 05:42 PM
12-11-2012 05:43 PM
@borceg
Why should I update device/simulator? I am testing on the real device?
12-11-2012 05:47 PM
Half of my apps don't work with the new OS update. Arggg ![]()
12-11-2012 11:47 PM
You may also have to change another line in the bar-descriptor.xml file
Find the line that looks like
<configuration id="com.qnx.qcc.toolChain.1120265426" name="Device-Release">
<platformArchitecture>armle-v7</platformArchitectu re>
<asset path="arm/o.le-v7/cascadescookbookqml" entry="true"
type="Qnx/Elf">cascadescookbookqml</asset>
</configuration>
and change it to
<configuration id="com.qnx.qcc.toolChain.1120265426" name="Device-Release">
<entryPointType>Qnx/Cascades</entryPointType>
<platformArchitecture>armle-v7</platformArchitectu re>
<asset path="arm/o.le-v7/libcascadescookbookqml.so" entry="true"
type="Qnx/Elf">cascadescookbookqml</asset>
</configuration>
check the /arm/o.le-v7/ folder to get the exact name of the .so file
Also be sure to clean before you build the project. This was able to get everything working for me even when skipping the new workspace steps.
With these steps the launch time of my apps was cut in half...
12-12-2012 01:39 AM
Ebscer wrote:..... even when skipping the new workspace steps.
With these steps the launch time of my apps was cut in half...
I was always wondering why I should use another workspace - so it works without for you
12-12-2012 10:11 AM
@Ebscer
using the full library name works - the question is why did RIM, in their instructions, provide wrong information. I don't see why would changing the workspace have anything to do with it.
I did create a new workspace and follow the exact instructions. The startup time is really amazing with this configuration though.
12-12-2012 11:53 AM
I have the same issue
Done as you said, modified file name to lib*.so, still not working.
12-12-2012 11:59 AM
@xhotkey
Did you make sure you changed the .pro file at the appropriate place and added the export macro in main.cpp ?
12-13-2012 08:22 AM
I gave up and created a new project.
The pro file became simple:
CONFIG += qt warn_on cascades10
include(config.pri)
There's no these: