[PyQt] PyQt4 issue

Phil Thompson phil at riverbankcomputing.com
Wed Mar 6 09:55:51 GMT 2013

On Wed, 6 Mar 2013 09:32:31 +0000, Chris Roebuck <chris at cjroebuck.com>
> Thanks Phil,
> I get the following error when changing configure.py as you suggested:
> cfgtest_QtWebKit.cpp: In function ‘int main(int, char**)’:
> cfgtest_QtWebKit.cpp:5:30: error: cannot allocate an object of abstract
> type ‘QWebHistoryInterface’
> qwebhistoryinterface.h:29:22: note:   because the following virtual
> functions are pure within ‘QWebHistoryInterface’:
> qwebhistoryinterface.h:38:18: note: virtual bool
> QWebHistoryInterface::historyContains(const QString&) const
> qwebhistoryinterface.h:39:18: note: virtual void
> QWebHistoryInterface::addHistoryEntry(const QString&)
> But I did manage to get the check to pass when
> using check_module("QtWebKit", "qwebelement.h", "new QWebElement()")

The problem with that is QWebElement wasn't in the first release of
QtWebKit. How about...

check_module("QtWebKit", "qwebsettings.h",


More information about the PyQt mailing list