[PyQt] pyqtdeploy Support for pyjnius on Android

Phil Thompson phil at riverbankcomputing.com
Mon Aug 17 14:10:14 BST 2015


On 17 Aug 2015, at 1:46 pm, Sébastien RAMAGE <sramage at poifindus.com> wrote:
> 
> 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 ?

I haven’t found a way. If you use qDebug() for your own debugging statements then they will go to logcat.

Phil



More information about the PyQt mailing list