[PyQt] pyqtdeploy, Android and extensions

Phil Thompson phil at riverbankcomputing.com
Mon Apr 11 10:41:38 BST 2016


On 11 Apr 2016, at 10:31 am, Robert Kent <rob at gulon.co.uk> wrote:
> 
> I definitely went back and re-compiled Python on Friday to ensure I had used this switch... Which defines etc. should be set by this flag to allow C extension loading?

It should define HAVE_DYNAMIC_LOADING and also cause dynload_shlib.c to be compiled and linked.

Phil

> On 11/04/2016 10:28, Phil Thompson wrote:
>> On 11 Apr 2016, at 10:22 am, Robert Kent <rob at gulon.co.uk> wrote:
>>> Hi Phil,
>>> 
>>> Sorry to bump a thread, but anyone got any more ideas re. cause or anything else I can attempt? Why would it be that python (imp) doesn't know how to load C extensions as the traceback implies? Are there any defines that need changing in pyconfig for example to allow this?
>> Yes, but this should be taken care of when using --enable-dynamic-loading with pyqtdeploycli.
>> 
>> Phil
> 



More information about the PyQt mailing list