[PyQt] Crosscomping sip with a sip.cfg file

Philip Balister philip at balister.org
Thu Sep 6 20:10:57 BST 2018


I'm updating the recipe in OpenEmbedded to the recent release. I am
running into an issue where the python parts are ending up in the build
sysroot, not the image. So the packaging doesn't pick up the python
parts of sip.

I create a sip config with required paths, the line I see in the
generated sip.cfg is:

sip_module_dir =
/home/balister/opensdr/sdr-build-master-qemu/build/tmp-glibc/work/core2-64-oe-linux/sip/4.19.12-r0/image//usr/lib/python%(py_major).%(py_minor)/site-packages

which is where I want to the the sip module end up, but after config,
compile etc I see this in sipconfig.py:

'sip_module_dir':
'/home/balister/opensdr/sdr-build-master-qemu/build/tmp-glibc/work/core2-64-oe-linux/sip/4.19.12-r0/recipe-sysroot/usr/lib/python2.7/site-packages/PyQt5',

Which is not where I need the module installed.

Any ideas? This has worked in the past.

Philip


More information about the PyQt mailing list