[PyQt] Linkage issue: cannot find -lqpydesigner

Phil Thompson phil at riverbankcomputing.com
Sat Aug 2 09:57:02 BST 2008


On Fri, 1 Aug 2008 21:48:17 -0400, Marc Lijour <marc at lijour.net> wrote:
> Hi 
> 
> I use Mandriva 2008.1 on my x86_64 desktop. My goal is to compile calibre
> (a 
> nice tool to manage my Sony ebook reader). The PyQt packages shipped with

> Mandriva have a bug: the setIcon() function gets no argument although
they
> 
> are defined in the ui file (I can provide these files on demand). My idea
> is 
> to get the latest PyQt in hope that would solve my problem.
> 
> I got the latest snapshot yesterday (PyQt-x11-gpl-4.4.3-snapshot-20080731
> and 
> sip). Sip compiles and installs fine. PyQt fails to install as it misses
a
> 
> library. Where could I find it?

It's part of PyQt and should be built automatically.

> Thanks
> 
> marc
> 
> 
> INFO
> 
> 1) Mandriva rpm: python-qt4-core-4.3.3-2mdv2008.1

What's this for if you are building PyQt yourself?

> 2) make install (output)
> (...)
> g++ -shared
>
-Wl,-rpath,/home/marc/devel/PyQt-x11-gpl-4.4.3-snapshot-20080731/qpy/QtDesigner
> -Wl,-rpath,/usr/lib/qt4/lib64 -Wl,--version-script=QtDesigner.exp -o 
> QtDesigner.so sipQtDesignercmodule.o sipQtDesignerQList.o 
> sipQtDesignerQPyDesignerTaskMenuExtension.o 
> sipQtDesignerQPyDesignerCustomWidgetCollectionPlugin.o 
> sipQtDesignerQPyDesignerCustomWidgetPlugin.o 
> sipQtDesignerQPyDesignerMemberSheetExtension.o 
> sipQtDesignerQPyDesignerContainerExtension.o 
> sipQtDesignerQPyDesignerPropertySheetExtension.o 
> sipQtDesignerQDesignerTaskMenuExtension.o
sipQtDesignerQExtensionManager.o
> 
> sipQtDesignerQDesignerPropertySheetExtension.o 
> sipQtDesignerQDesignerMemberSheetExtension.o sipQtDesignerQFormBuilder.o 
> sipQtDesignerQAbstractExtensionManager.o 
> sipQtDesignerQAbstractExtensionFactory.o sipQtDesignerQExtensionFactory.o

> sipQtDesignerQDesignerCustomWidgetCollectionInterface.o 
> sipQtDesignerQDesignerCustomWidgetInterface.o 
> sipQtDesignerQDesignerContainerExtension.o 
> sipQtDesignerQDesignerWidgetBoxInterface.o 
> sipQtDesignerQDesignerPropertyEditorInterface.o 
> sipQtDesignerQDesignerObjectInspectorInterface.o 
> sipQtDesignerQDesignerFormWindowManagerInterface.o 
> sipQtDesignerQDesignerFormWindowCursorInterface.o 
> sipQtDesignerQDesignerFormWindowInterfaceFeature.o 
> sipQtDesignerQDesignerFormWindowInterface.o 
> sipQtDesignerQDesignerFormEditorInterface.o 
> sipQtDesignerQAbstractFormBuilder.o 
> sipQtDesignerQDesignerActionEditorInterface.o
> -L/home/marc/devel/PyQt-x11-gpl-4.4.3-snapshot-20080731/qpy/QtDesigner
> -L/usr/lib/qt4/lib64 -L/usr/X11R6/lib -lqpydesigner -lQtDesigner -lQtGui
> -L/usr/lib64 -L/usr/lib/qt4/lib64 -L/usr/X11R6/lib -lpng -lSM -lICE
> -lQtCore -L/usr/lib64 -L/usr/lib/qt4/lib64 -lz -lrt -lpthread -lXi
> -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig
> -lXext -lX11 -lm -ldl -lQtCore -L/usr/lib64 -L/usr/lib/qt4/lib64 -lz -lm
> -lrt -lpthread -ldl -lXext -lX11 -lm -lpthread
> /usr/bin/ld: cannot find -lqpydesigner

Phil



More information about the PyQt mailing list