[PyQt] Another issue with latest PyQt4 snapshot and Qt5

Phil Thompson phil at riverbankcomputing.com
Sun Dec 30 11:09:47 GMT 2012


On Fri, 21 Dec 2012 12:09:03 +0100, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> Hello,
> 
> here is the next issue I faced. Having resolved the before reported
issue 
> temporarily I tried to compile. However, the linking stage failed. Here
is
> the 
> output.
> 
> g++ -c -m64 -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -
> DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DSIP_PROTECTED_IS_PUBLIC -
> Dprotected=public -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB
> -DQT_CORE_LIB 
> -I. -I/usr/include/python3.2mu -I/usr/local/Qt-5.0.0/mkspecs/default -
> I/usr/local/Qt-5.0.0/include/QtMultimedia
> -I/usr/local/Qt-5.0.0/include/QtGui 
> -I/usr/local/Qt-5.0.0/include/QtWidgets -
> I/usr/local/Qt-5.0.0/include/QtPrintSupport -
> I/usr/local/Qt-5.0.0/include/QtCore -I/usr/local/Qt-5.0.0/include -o 
> sipQtMultimediapart6.o sipQtMultimediapart6.cpp
> g++ -shared  -Wl,-O1 -Wl,-rpath,/usr/local/Qt-5.0.0/lib -Wl,--version-
> script=QtMultimedia.exp -o QtMultimedia.so sipQtMultimediapart0.o 
> sipQtMultimediapart1.o sipQtMultimediapart2.o sipQtMultimediapart3.o 
> sipQtMultimediapart4.o sipQtMultimediapart5.o sipQtMultimediapart6.o -
> L/usr/local/Qt-5.0.0/lib -L/usr/X11R6/lib64 -lQtMultimedia -lQtGui
> -lQtWidgets 
> -lQtPrintSupport -lQtCore -lXext -lX11 -lm -lpthread
>
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: 
> cannot find -lQtWidgets
>
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: 
> cannot find -lQtPrintSupport
> 
> That is correct because the installed Qt5 libraries are called
> libQt5Widgets.so
> libQt5PrintSupport.so
> and so on.

Should all be fixed with the current SIP and PyQt snapshots.

Phil


More information about the PyQt mailing list