[PyQt] Compiling SIP v5 vs v4

Phil Thompson phil at riverbankcomputing.com
Wed Nov 13 15:40:04 GMT 2019


On 13/11/2019 15:16, Erik Janssens wrote:
> aha, thank you !
> 
> is my understanding correct in that :
> 
> - PyQt-Builder should be installed on the 'build python'

Yes.

> - Through the configuration, PyQt-Builder can be instructed to use the
> qmake of a cross compiler,

It will use whatever qmake you give it, as before.

>   and link against the 'host python'

Normally bindings don't link against Python, they are dynamically loaded 
by the interpreter.

> - PyQt builder will then build both sip and pyqt for the host python

It doesn't build sip or a private sip module.

> So there is no longer the need to build sip before building pyqt ?

You need to install sip first (unless it is being installed 
automatically because you are using pip as the build frontend). Don't 
confuse sip and a sip module.

At the moment sip5/PyQt-builder don't have explicit support for 
cross-compilation. This will be fixed (if necessary) when sip5 support 
is added to pyqtdeploy.

Phil


More information about the PyQt mailing list