[PyQt] PyQt5/Android: print/log messages

Rodrigo Oliveira rodrigo.oliveira at byne.com.br
Mon Apr 20 04:10:43 BST 2020


Hi, I'm porting an existing application to Android. It's already working,
but can't manage to print/log messages on logcat (Qt 5.12.3 (arm64_v8a),
PyQt 5.12.3, sip 4.19.18 and pyqtdeploy 2.5.1).

I can use 'console.log' from QML, but print and logging from python doesn't
show on adb logcat.
Also, tried qDebug, but the application crashes (QtCore is listed both on
sysroot.json and on the pdy file.

Anyone experimented or know how to solve this? Am I missing something?

Many thanks,
Rodrigo Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200420/aed597ab/attachment.htm>


More information about the PyQt mailing list