[PyQt] PyQt4 issue

Phil Thompson phil at riverbankcomputing.com
Wed Mar 6 08:40:53 GMT 2013


On Wed, 6 Mar 2013 01:25:18 +0000, Chris Roebuck <chris at cjroebuck.com>
wrote:
> Here's my result:
> 
> objdump -T libQt5WebKit.so | grep QWebPage | grep QObject
> 
> 00000000004a2530 g    DF .text 0000000000000935  Base
> 
_ZN15QWebPageAdapter26dynamicPropertyChangeEventEP7QObjectP27QDynamicPropertyChangeEvent
> 00000000004a3770 g    DF .text 000000000000002a  Base
>  _ZN15QWebPageAdapter17setSystemTrayIconEP7QObject
> 
> Interestingly, if I do the same for libQt5WebKitWidgets.so I get what
you
> reported:
> 
> objdump -T libQt5WebKitWidgets.so | grep QWebPage | grep QObject
> 
> 0000000000000000      DF *UND* 0000000000000000
>  _ZN15QWebPageAdapter17setSystemTrayIconEP7QObject
> 0000000000000000      DF *UND* 0000000000000000
> 
_ZN15QWebPageAdapter26dynamicPropertyChangeEventEP7QObjectP27QDynamicPropertyChangeEvent
> 0000000000027570 g    DF .text 00000000000000a4  Base
>  _ZN8QWebPageC1EP7QObject
> 0000000000027570 g    DF .text 00000000000000a4  Base
>  _ZN8QWebPageC2EP7QObject

Try changing the line in configure.py from...

check_module("QtWebKit", "qwebpage.h", "new QWebPage()")

...to...

check_module("QtWebKit", "qwebhistoryinterface.h", "new
QWebHistoryInterface()")

Phil


More information about the PyQt mailing list