[PyQt] Building PyQt5 for embedded Linux systems

David Boddie david at boddie.org.uk
Sun Aug 30 17:37:50 BST 2015

Following up on the questions I had about PyQt5, I wrote a script to invoke
the configure scripts for Qt, sip and PyQt in a way that can be used to
create custom builds of these for embedded systems. It can be found in this


It uses the cross-compilers supplied with Debian and relies on having a
pre-supplied, cross-built Python interpreter and development files, so it
might not be useful for everyone.

There was a query about whether it was possible to use PyQt5 with a version
of Qt configured to use the Linux framebuffer, and it should just work out
of the box with PyQt5. The question then is why not just use the existing
Qt and PyQt packages supplied with Debian? My understanding is that these
are pre-configured to use X, hence the need to reconfigure and rebuild them.

It may well be the case that I've misunderstood something and that the
script can be made simpler. Patches and pull requests are welcome.


More information about the PyQt mailing list