[PyQt] Linking error with PyQt4 unter ubuntu 6.06

Alexander Eisenhuth newsuser at stacom-software.de
Thu Sep 6 09:22:41 BST 2007

Ubuntu 6.06
Python 2.4.3
Open Source Version of Qt (build under /usr/local/Trolltech/Qt-4.3.1)

Following error:

g++ -shared -Wl,-rpath,/usr/local/src/PyQt-x11-gpl-4.3/qpy/QtDesigner 
-Wl,-rpath,/usr/local/Trolltech/Qt-4.3.1/lib -Wl,--version-script=QtDesigner.exp
-L/usr/local/Trolltech/Qt-4.3.1/lib -L/usr/X11R6/lib -lqpydesigner -lQtDesigner 
-lQtGui -L/usr/local/Trolltech/Qt-4.3.1/lib -L/usr/X11R6/lib -lSM -lICE -lQtCore 
-L/usr/local/Trolltech/Qt-4.3.1/lib -lz -lrt -lpthread -lXi -lXext -lX11 -lm 
-ldl -lQtCore -L/usr/local/Trolltech/Qt-4.3.1/lib -lz -lm -lrt -lpthread -ldl 
-lXext -lX11 -lm -lpthread

I removed "-lqpydesigner" from the command line, call the link command to 
QtDesigner again. After that PyQt4 was build propperly. Is this a bug or ...

Regards Alexander

More information about the PyQt mailing list