[PyQt] pyqtdeploy: compiler and linker errors with nmake after qmake

Phil Thompson phil at riverbankcomputing.com
Sat Oct 27 18:02:27 BST 2018


On 24 Oct 2018, at 5:40 pm, Jacob Kanev <j_kanev at arcor.de> wrote:
> 
>  
> Hi everybody, I found the first error:
>  
> > 1. The compiler complains about "initializer is not a constant" in sysroot-win-32\src\Python-3.7.0\Modules\_abc.c. Changing line 69 in _abc.c from 
> >     PyVarObject_HEAD_INIT(&PyType_Type, 0)
>  
> and the first missing symbol:
>  
> >     pyqtdeploy_main.obj : LNK2001: unresolved external symbol _PyInit__struct
>  
> are fixed when I compile python for the target system (instead of using the installed version of python, as I did before).

These two should be fixed in tonight's snapshot.

Phil



More information about the PyQt mailing list