[BlackBerry-Python] Looking for examples and howto for Python/QML with Tart on BB10
George Ruinelli
george at ruinelli.ch
Sat Dec 8 06:56:52 EST 2012
Thank you for the detailed explanations.
I was able to repack your Zombie Slayer app and to install and run it.
It is for sure a useful app since I also run into that issue.
To speed up development and testing, I am looking for a way to run my apps on
the device without packing and deploying it.
One way would be to copy them with secure copy (scp) to the devuser home
directory and start it from there via SSH.
I tested it and I am able to copy my files and folder from my PC to the device:
$ scp -r source2 devuser at 192.168.1.54:/accounts/devuser/myapp
If it is only a python3 script, I can run it over SSH:
$ cd /accounts/devuser/myapp
$ python3.2 main.py
Next was to copy your unpacked Zombie Slayer app and run it.
How ever when I try to run it, I get an error:
$ ./tart-launch
ldd:FATAL: Could not load library libQtSensors.so.1
Somehow it can not find the file located at /usr/lib/qt4/lib/libQtSensors.so.1.
Even after I set LD_LIBRARY_PATH=/usr/lib/qt4/lib it failed.
Would it be possible to modify tart-launcher so it runs from any home folder
directory?
One then simply could edit his Python/QML files on the PC, copy them over and
start them over SSH.
I do it that way all the time with my MeeGo (N9) phone at it is quite an fast
way to kind of develop on the PC and test directly on the device itself.
More information about the BlackBerry-Python
mailing list