[PyKDE] Errors making PyQt Windows DLL

Doug Bell dougbell at mnsinc.com
Wed Jun 27 04:07:41 BST 2001


> Erik Weber wrote:
> > 
> > Dear list,
> > 
> > I get unresolved externals in attempting to link the PYQt bindings on
> > Windows.  I suspect that I am failing to correctly build the SIP library,
> > but can find no documentation on how to do this.  I installed sip-2.4 and
> > compiled sip.lib there, but it does not reference the qt*.sip files, so I
> > assume I am compling a sip.lib with no bindings.  How do I create a sip.lib
> > for PyQt?
> 
> Read the file INSTALL.win32 - there is one for SIP and PyQt.
> 
> Otherwise, which symbols?
> 
> Phil

I am also having problems building SIP using MSVC.  I have the new QT
Non-Commercial edition installed (I'd like to be able to give a couple
of apps I've written from Linux to some MS-only friends).  This is the
error message I'm getting:

moc_sipQt.obj : error LNK2001: unresolved external symbol "class QApplication *
qApp" (?qApp@@3PAVQApplication@@A)
sip.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'C:\PROGRA~1\MSVISU~1\VC98\BIN\link.exe' :
return code '0x460'

Any ideas?

Doug.




More information about the PyQt mailing list