[PyKDE] help ,can't bulid siplib!

Erik Weber erikw at lineo.com
Mon Jul 2 18:50:54 BST 2001

James wrote:
> I am a newbie of PyQt. I failed to build siplib.My environment
>is :
>     Win2k, Qt non-commercial for win(v2.3), Active Python2.1.
> When I run :
>        nmake -f Makefile.win32-msvc
>     Linking errors come:
> moc_sipQt.obj : error LNK2001: unresolved external symbol "class
QApplication *  qApp"
> (?qApp@@3PAVQApplication@@A)
> sip.dll : fatal error LNK1120: 1 unresolved externals
>     Could anyone help me,please?

I have had no success building sip as a DLL, but that particular error will
go away if you make the static library version:

    nmake -f Makefile.win32-msvc.static

Unfortunatly, building the PyQt bindings with the resulting library fails,
so this is not much help.

  -Erik Weber
   Lineo Seattle
   206.285.2506 x204
   Lineo: Where Open Meets Smart

More information about the PyQt mailing list