[PyQt] PyQt5 cannot import QtWebKit

Phil Thompson phil at riverbankcomputing.com
Thu Sep 5 17:00:58 BST 2013


On Thu, 5 Sep 2013 16:50:04 +0100, Joe Borġ <mail at jdborg.com> wrote:
> Have just (seemingly) successfully built PyQt5, but doesn't seem to have
> included WebKit:
> 
> In [1]: from PyQt5 import QtWebKit
>
---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call
last)
> <ipython-input-1-ea6344899724> in <module>()
> ----> 1 from PyQt5 import QtWebKit
> 
> 
> In [3]: from PyQt5 import Qt
> Qt                   QtDBus               QtGui
> QtMultimedia         QtNetwork            QtPrintSupport
> QtQuick              QtSvg                QtWidgets
> QtCore               QtDesigner           QtHelp
> QtMultimediaWidgets  QtOpenGL             QtQml
> QtSql                QtTest               QtXmlPatterns
> 
> 
> Is there a flag I missed on build?

Run configure.py with the --verbose flag to see why WebKit wasn't
detected.

Phil


More information about the PyQt mailing list