[PyQt] [pyqtdeploy] on android : PyImport_ImportFrozenModule failed

Sébastien RAMAGE sramage at poifindus.com
Thu Apr 28 12:45:31 BST 2016


After successfully building and running an apk on android 5.x (API 21), 
I'm trying to port my app on Android 4.x (API 16)
I can compile (by removing some python function like tipc for example) 
but the app crash on launch

I found that PyImport_ImportFrozenModule(CONST_CAST(main_module)) failed 
it returns -1

Sometimes (but rarely) the app start, but I get later an error "locale 
setting failed"

I used :
pyqtdeploy from hg
Python 3.5.1
PyQt 5.4.2
Qt 5.4.2
Sip 4.18
Android NDK 10e
last Android SDK, API 16

Any help will be appreciate

Seb




More information about the PyQt mailing list