[PyQt] pyqtdeploy Support for pyjnius on Android

Sébastien RAMAGE sramage at poifindus.com
Mon Aug 17 13:46:55 BST 2015

I tried and I get the following error when I try to use autoclass function.

DisplayMetrics = autoclass('android.util.DisplayMetrics')

=> error
parent module "" not loaded, cannot perform relative import

This is probably because of the _jnius rewrite but since I can't get a 
full traceback I'm not sure where the problem is.

Is there a way to redirect stderr (for traceback) and stdout (for print) 
to QtCreator debugger ?


Le 15/08/2015 13:47, Phil Thompson a écrit :
> I’ve got as far as being able to…
> import jnius
> print(jnius.__version__)
> …on Android. I’m pretty confident that nothing else will work.
> I’ve documented how to get this far in the attached document. Hopefully somebody can use this as a basis of getting something working properly.
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150817/bd0acbd8/attachment.html>

More information about the PyQt mailing list