Re: [PyKDE] ANN: PyQt v3.1pre2

2002-02-20 Thread Phil Thompson

Jonathan Gardner wrote:
> 
> On Sunday 17 February 2002 10:37 pm, Phil Thompson wrote:
> > PyQt v3.1pre2 is now available at
> > http://www.riverbankcomputing.co.uk/download/snapshots.
> >
> > Just a couple of changes in this release...
> >
> > - the addition of QPixmap.grabWidget()
> >
> > - a bug fix to pyuic for Qt v3 relating to the handling of "black" and
> > "white"
> >
> > There is no update to SIP.
> >
> 
> I tried compiling this...
> 
> First, ./configure was looking for sip headers and libraries... did other
> versions do this? If so, why couldn't this one find them, but previous ones
> could?

Because they have moved now that the SIP library is a Python module. See
the v3.1pre1 announcement.

Have you installed the latest SIP (v3.1pre1)?

Phil

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] ANN: PyQt v3.1pre2

2002-02-20 Thread Jonathan Gardner

On Wednesday 20 February 2002 07:33 pm, Phil Thompson wrote:
>
> Because they have moved now that the SIP library is a Python module. See
> the v3.1pre1 announcement.
>
> Have you installed the latest SIP (v3.1pre1)?

No.

Funny, I had a breakthrough thought with PyQt 3.0 that got me to compile it 
correctly. It was that perhaps sip and PyQt need to both be compiled for the 
same version of Python, or they won't work together. I got them compiled 
together, and everything worked beautifully.

Why couldn't I see that the same would go for the v3.1pre releases? =)

I installed sip v3.1pre1, no prob. I am compiling PyQt v3.1pre2 right now. 
(It takes longer to compile than my attention span - but it looks okay!)

Thanks Phil.

Jonathan

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



[PyKDE] Managing more than one installation of PyQt/Sip concurrently

2002-02-20 Thread Jonathan Gardner

Here's my problem now. I got PyQt 3.0, sip 3.0 compiled against Python 2.1 
and Python 2.2. I really like Python 2.2, so when I write something for Linux 
users, I use Python 2.2. However, I am running a project that uses PyQt 
heavily, and it needs to work for Windows users, which only have the PyQt for 
Python 2.1 available, so I got that compiled for Python 2.1 as well. I can 
set /usr/local/python to point to either /usr/local/bin/python2.1 or 
/usr/local/bin/python2.2 and everything works great (because python2.1 uses 
/usr/local/lib/python2.1 and python2.2 uses /usr/local/python2.2).

Now I want to have both v3.1pre2 and v3.0 available to both Python2.1 and 
Python2.2. How would I go about switching those two out? I imagine I could 
just do "make install" from the appropriate src directory (that already has 
'./configure && make' run in it), but is there a better way?

I am, of course, running Linux.

Jonathan

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] ANN: PyQt v3.1pre2

2002-02-20 Thread Jonathan Gardner

On Wednesday 20 February 2002 09:49 pm, Jonathan Gardner wrote:
>
> I installed sip v3.1pre1, no prob. I am compiling PyQt v3.1pre2 right now.

It compiled and installed and works okay.

Jonathan

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



[PyKDE] sip 3.1pre: win32 link problem

2002-02-20 Thread Hogendoorn, Rene

Compiling siplib with VC++ 6 results in a linker error: undefined reference
to QApplication::qapp

This can be circumvented by defining QT_DLL as link option (-DQT_DLL).

Regards,
René Hogendoorn

--
HITT Holland Institute of Traffic Technology B.V.
Oude Apeldoornseweg 41-45, P.O.-Box 717, NL-7300AS, Apeldoorn.
Tel.( +31) 55 543 2594, 
Fax. (+31) 55 543 2553.  
E-mail: [EMAIL PROTECTED] 


___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde