This works, however when I run the script: from PyQt4.QtWebKit import *
I get: ImportError: /usr/lib/python2.7/dist-packages/PyQt4/QtWebKit.so: undefined symbol: _ZTI8QWebView On 6 March 2013 09:55, Phil Thompson <p...@riverbankcomputing.com> wrote: > On Wed, 6 Mar 2013 09:32:31 +0000, Chris Roebuck <ch...@cjroebuck.com> > wrote: > > 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", > "QWebSettings::globalSettings()") > > Phil >
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt