[PyKDE] Has anyone successfully compiled PyQt bindings for Windows?

Greg Green gregory.p.green at boeing.com
Fri Jun 29 20:01:17 BST 2001


The last version that I got to work was PyQt-2.2. PyQt-2.4 didn't. I
never had time to figure out why. But 2.2 worked directly out of the
box no changes. You just follow Phil's directions. It is important to
make sure you are pointing at same Qt version that you used to
compile sip.

> Dear Mr. Green,
> 
> It certainly does!  Please list the packages you used and the steps
you
> followed.  I am sure if this list were posted to the PyKDE list as
well it
> would be appreciated.
> 
>   -Erik Weber
>    Lineo Seattle
>    206.285.2506 x204
>    Lineo: Where Open Meets Smart
> 
> ----- Original Message -----
> From: "Greg Green" <gregory.p.green at boeing.com>
> To: "Erik Weber" <erikw at lineo.com>
> Sent: Thursday, June 28, 2001 11:15 AM
> Subject: Re: [PyKDE] Has anyone successfully compiled PyQt bindings
for
> Windows?
> 
> 
> > I have compiled PyQt-2.4 on Windows 2000. Does that help?
> >
> > > Dear list,
> > >
> > > If anyone has actually successfully compiled the PyQt bindings
for
> > Windows,
> > > please respond ASAP.  If these bindings will not work, I will
need
> > to make a
> > > new plan quick!
> > >
> > >   -Erik Weber
> > >    Lineo Seattle
> > >    206.285.2506 x204
> > >    Lineo: Where Open Meets Smart
> > >
> > > Doug Bell wrote:
> > > > > > > Erik Weber wrote:
> > > > > > > > I get unresolved externals in attempting to link the
PYQt
> > bindings
> > > on
> > > > > > > > Windows.
> > > > > I got this error first by using the 'Makefile.win32-msvc.'
> > When I
> > > switched
> > > > > to 'Makefile.win32-msvc.static,'  Those errors went away
and my
> > sip
> > > build
> > > > > completed (producing the static library 'sip.lib' as
opposed to
> > an
> > > import
> > > > > library 'sip.lib' plus 'sip.dll.'  When I attempt to link
the
> > PyQt
> > > bindings
> > > > > with this library, however, I get many link errors like:
> > > > >
> > > > >
> > >
> >
======================================================================
> > ====
> > > > >
> > > > > sipqtQObject.obj : error LNK2001: unresolved external symbol
> > > > > "__declspec(dllimport) struct _object * __cdecl
> > sipDisconnectRx(struct
> > > > > _object *,char *,struct _object *,char *)"
> > > > > (__imp_?sipDisconnectRx@@YAPAU_object@@PAU1 at PAD01@Z)
> > > > >
> > > > >
> > >
> >
======================================================================
> > ====
> > > > I get the same errors you do - only the static version of SIP
will
> > > > compile, then there are many unresolved symbols when linking
PyQt.
> > >
> > >
> > >
> > > _______________________________________________
> > > PyKDE mailing list    PyKDE at mats.gmd.de
> > > http://mats.gmd.de/mailman/listinfo/pykde
> > >
> >
> > --
> >
> > Greg Green
> > Advanced Design Systems
> > Math & Computing Technology
> > Boeing
> > (425) 865-2790
> >
> >
> 
> 

-- 

Greg Green
Advanced Design Systems
Math & Computing Technology
Boeing
(425) 865-2790





More information about the PyQt mailing list