[PyQt] Cross compiling PyQt in OpenEmbedded with configure-ng.py
Philip Balister
philip at balister.org
Fri Nov 21 14:42:15 GMT 2014
I'm trying to update the OE build of PyQt to 4.11.3 using the
configure-ng.py method.
The build fails with:
|
/home/balister/src/oe-core/build/tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/python-pyqt/4.11.3-r0/PyQt-x11-gpl-4.11.3/QtGui/sipQtGuiQWidget.cpp:
In function 'PyObject* meth_QWidget_setAccessibleDescription(PyObject*,
PyObject*)':
|
/home/balister/src/oe-core/build/tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/python-pyqt/4.11.3-r0/PyQt-x11-gpl-4.11.3/QtGui/sipQtGuiQWidget.cpp:3385:21:
error: 'class QWidget' has no member named 'setAccessibleDescription'
| sipCpp->setAccessibleDescription(*a0);
| ^
| make[1]: *** [sipQtGuiQWidget.o] Error 1
| make[1]: Leaving directory
`/home/balister/src/oe-core/build/tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/python-pyqt/4.11.3-r0/PyQt-x11-gpl-4.11.3/QtGui'
| make: *** [sub-QtGui-make_default-ordered] Error 2
| ERROR: oe_runmake failed
| WARNING:
/home/balister/src/oe-core/build/tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/python-pyqt/4.11.3-r0/temp/run.do_compile.1836:1
exit 1 from
| exit 1
Here is the config file I made:
[balister at thuvia build]$ cat
tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/python-pyqt/4.11.3-r0/PyQt-x11-gpl-4.11.3/pyqt.cfg
py_platform = linux
py_inc_dir = %(sysroot)//usr/include/python%(py_major).%(py_minor)
py_pylib_dir = %(sysroot)//usr/lib/python%(py_major).%(py_minor)
py_pylib_lib = python%(py_major).%(py_minor)mu
pyqt_module_dir = %(sysroot)//usr/lib/python%(py_major)/dist-packages
pyqt_bin_dir = %(sysroot)//usr/bin
pyqt_sip_dir = %(sysroot)//usr/share/sip/PyQt4
pyuic_interpreter = /usr/bin/python%(py_major).%(py_minor)
pyqt_disabled_features = PyQt_Desktop_OpenGL PyQt_qreal_double
qt_shared = True
[Qt 4.8]
pyqt_modules = QtCore QtGui QtDeclarative QtNetwork QtSvg QtWebKit
Configure is called with;
python configure-ng.py --verbose --qmake
${STAGING_BINDIR_NATIVE}/qmake2 --configuration pyqt.cfg --sysroot
${STAGING_DIR_HOST}
Do you have any suggestions for correcting this?
Thanks,
Philip
More information about the PyQt
mailing list