[PyQt] PyQt4 issue

Detlev Offenbach detlev at die-offenbachs.de
Tue Mar 5 17:44:24 GMT 2013


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

Regards,
Detlev

On Monday 04 March 2013, 18:52:45 Phil Thompson wrote:
> On Mon, 4 Mar 2013 19:50:41 +0100, Detlev Offenbach
> 
> <detlev at die-offenbachs.de> wrote:
> > Hi Phil,
> > 
> > I found the cause of my issue. Actually there are two.
> > 
> > 1. configure.py doesn't detect, that the wrapper for QtWebkit should be
> > built.
> > 2. That left an old wrapper for QtWebkit in my installation directory,
> > which caused the issue (a mix of compilations doesn't work).
> > 
> > So I think, fixing 1. will get rid of 2 automatically.
> > 
> > All this was done with Qt 5.0.1 on Linux (openSUSE 12.2) and Mac OS X
> > Mountain Lion.
> 
> Can you run configure.py with --verbose so that you can see why it doesn't
> think QtWebKit is available?
> 
> Phil-- 
*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130305/bd7e1d74/attachment.html>


More information about the PyQt mailing list