[PyQt] Next PyQt5 and SIP Releases

Phil Thompson phil at riverbankcomputing.com
Mon Aug 19 13:12:01 BST 2013


On Mon, 19 Aug 2013 12:47:02 +0100, John Donovan <john at geospark.co.uk>
wrote:
> Raspberry Pi using the Qt5 packages from http://twolife.be/raspbian/
> and PyQt-gpl-5.0.1-snapshot-7e6f3768c519
> 
> Running configure with:
> python3 configure.py --verbose --confirm-license --enable=QtCore
> --enable=QtGui --enable=QtOpenGL --enable=QtQml --enable=QtQuick
> --enable=QtDBus
> 
> Works, but it does report:
> The qmlscene plugin was disabled because the Python library couldn't be
> found.
> 
> It may be that I have missed a module from the Qt5 repo.

If you look at generate_plugin_makefile() in configure.py you might be
able to work out what the problem is.

> make works fine and everything seems to compile, but when I try to
> import QtQml (or QtQuick):
> from PyQt5 import QtQml
> 
> I get:
> ImportError: /usr/lib/python3.3/site-packages/PyQt5/QtQml.so:
> undefined symbol: _ZN11QQmlPrivate10createIntoI13QPyQmlObject5EEvPv

That's odd...

Is there a commonly accepted way of building Qt5 on the Pi?

What about Wayland vs X11?

Phil


More information about the PyQt mailing list