[PyQt] PyQt4 issue

Chris Roebuck chris at cjroebuck.com
Wed Mar 6 01:25:18 GMT 2013


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


On 6 March 2013 00:22, Hans-Peter Jansen <hpj at urpla.net> wrote:

> Am Dienstag, 5. März 2013, 18:44:24 schrieb Detlev Offenbach:
> > Hello,
> >
> > here is the extract.
> >
> > Checking to see if the QtTest module should be built...
> > g++ -DQT_NO_DEBUG -DQT_TEST_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -I. -
> > I/usr/local/Qt-5.0.1/mkspecs/linux-g++
> -I/usr/local/Qt-5.0.1/include/QtTest
> > - I/usr/local/Qt-5.0.1/include -m64 -pipe -O2 -w -D_REENTRANT -fPIE
> > cfgtest_QtTest.cpp -o cfgtest_QtTest -L/usr/local/Qt-5.0.1/lib  -Wl,-O1
> > -Wl,-rpath,/usr/local/Qt-5.0.1/lib -lQt5Test - L/usr/local/Qt-5.0.1/lib
> > -lQt5Core -lpthread -lpthread
> > Checking to see if the QtWebKit module should be built...
> > g++ -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_CORE_LIB -I. -
> > I/usr/local/Qt-5.0.1/mkspecs/linux-g++
> > -I/usr/local/Qt-5.0.1/include/QtWebKit -
> > I/usr/local/Qt-5.0.1/include/QtWebKitWidgets
> > -I/usr/local/Qt-5.0.1/include/QtCore - I/usr/local/Qt-5.0.1/include -m64
> > -pipe -O2 -w -D_REENTRANT -fPIE cfgtest_QtWebKit.cpp - o cfgtest_QtWebKit
> > -L/usr/local/Qt-5.0.1/lib  -Wl,-O1 -Wl,-rpath,/usr/local/Qt-5.0.1/lib -
> > lQt5WebKit -L/usr/X11R6/lib64 -L/usr/local/Qt-5.0.1/lib -lQt5Network
> > -L/usr/local/Qt-5.0.1/lib - lQt5Core -lpthread -lpthread -lQt5Gui
> > -L/usr/X11R6/lib64 -L/usr/local/Qt-5.0.1/lib -lQt5Core - lpthread
> -lpthread
> > -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread
> > /tmp/ccmtGOAm.o: In function `main':
> > cfgtest_QtWebKit.cpp:(.text.startup+0x19): undefined reference to
> > `QWebPage::QWebPage(QObject*)'
> > collect2: error: ld returned 1 exit status
>
> Hmm, have you checked the symbols in your libQt5WebKit.so?
>
> objdump -T libQt5WebKit.so | grep QWebPage | grep QObject
>
> It should show: _ZN8QWebPageC2EP7QObject
>
> Feeding to c++filt results in: QWebPage::QWebPage(QObject*)
>
> Any other result is an issue down under..
>
> Cheers,
> Pete
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130306/8402799f/attachment-0001.html>


More information about the PyQt mailing list