[PyKDE] Compliling pyqt4

Andreas Pakulat apaku at gmx.de
Mon Jan 15 11:38:55 GMT 2007

On 14.01.07 21:46:27, pykde at x11.cjb.net wrote:
> Two replies!  Y'all are amazing.
> On Sunday January 14 2007 8:49 pm, Andreas Pakulat wrote:
> > Check to see that there exists a qtdirs.pro and qtdirs.cpp as well as a
> > qtdirs.mk. If all of those exist try running make -f qtdirs.mk
> er, Where exactly should I look for those?
> > My guess is that the last one fails with some error message, post that
> > error here.
> This error?
> $ make -f qtdirs.mk
> g++  -o qtdirs qtdirs.o    -L/usr/lib -lQtCore_debug -lpthread
> /usr/bin/ld: cannot find -lQtCore_debug
> collect2: ld returned 1 exit status
> make: *** [qtdirs] Error 1

Aah, you need libqt4-debug, it contains the debug libraries for Qt4. It
seems that the default for Debian is to build debug apps when using Qt4
instead of release apps, so the small test app created during
configure.py is also meant to be build with the debug libraries.

Phil, maybe force release on Linux too (like you already do for


You are farsighted, a good planner, an ardent lover, and a faithful friend.

More information about the PyQt mailing list