[PyQt] building QtWebView for PyQT 5.6 snapshot

Kevin Mcintyre kebin70 at gmail.com
Sat Mar 19 08:00:51 GMT 2016


Any pointers would be greatly appreciated.

Installed Qt5.6 and downloaded snapshot of SIP and PyQT.  Everything built
- good...

from PyQt5 import QtCore
print 'version:', QtCore.qVersion()

version: 5.6.0

but (as expected) WebKit doesn't work anymore.

/home/ubuntu/Qt5.5.1/5.5/gcc_64/lib/libQt5WebKit.so.5: undefined symbol:
_ZN22QWindowSystemInterface19registerTouchDeviceEP12QTouchDevice

In an attempt to resolve I clone http://code.qt.io/qt/qtwebview.git -b 5.6
~/Qt/5.6/gcc_64/bin/qmake
make
make install

This puts a bunch of files in my Qt/5.6 that seem like I would be able to
run

python configure.py --qmake=/home/ubuntu/Qt/5.6/gcc_64/bin/qmake -e QtWebkit

but no such luck...

Traceback (most recent call last):
  File "configure.py", line 2896, in <module>
    main(sys.argv)
  File "configure.py", line 2887, in main
    opts.split if opts.concat else 0, opts.tracing)
  File "configure.py", line 1442, in generate_makefiles
    metadata = MODULE_METADATA[mname]
KeyError: 'QtWebkit'

Thanks in advance for any pointers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160319/e0f61a50/attachment.html>


More information about the PyQt mailing list