[PyQt] Crosscomping sip with a sip.cfg file
Phil Thompson
phil at riverbankcomputing.com
Sat Sep 8 09:39:42 BST 2018
On 6 Sep 2018, at 8:10 pm, Philip Balister <philip at balister.org> wrote:
>
> 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.
Difficult to say without more context. Also I'd suggest you try the current snapshot.
Phil
More information about the PyQt
mailing list