View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1
Based on the excellent Building PySide for the BB Playbook tablet guide from the Blackberry-Py project, I've started working on a PySide to BB10 using the final NDK.

PySide enables to use the power of the whole Qt library from applications written completely in Python without any need for compiling anything. It also looks like Python applications should be easily publishable to the Blackberry AppWorld application repository so long as all dependencies are included in the package.

My progress so far is recorded on this wiki page:
http://modrana.org/trac/wiki/BB10

What's working:
  • compiling Qt, Shiboken & PySide using the BB10 NDK
  • compiling Shiboken & PySide against the on-device Qt libs (resulting in much smaller package size)
  • packaging
  • installing to device

What isn't:
  • the example application segfaults when started

More info about the segfault
After the application package is installed on the device & the icon is
clicked a black window briefly shows up and vanishes.
The log in /accounts/1000/appdata/<appname>/logs/log has a this single line:

Process 30396593 (python3.2) terminated SIGSEGV code=1 fltno=11
ip=783abf7c(/base/lib/libcpp.so.4 at _ZNKSt6locale9_GetfacetEj+0x27)
mapaddr=0002bf7c. ref=00000010

The error is still the same, regardless if the Qt libs are custom
compiled & bundled or on-device Qt libs are used.

Even more info about the issue on a corresponding Blackberry-Py mailing list post.

Any help with resolving this issue will be much appreciated !
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 13 Users Say Thank You to MartinK For This Useful Post: