[PyKDE] Running PyQt3 and PyQt4?

Gerard Vermeulen gerard.vermeulen at grenoble.cnrs.fr
Fri Mar 10 08:39:54 GMT 2006


On Thu, 9 Mar 2006 12:19:28 +0000
Phil Thompson <phil at riverbankcomputing.co.uk> wrote:

> On Thursday 09 March 2006 12:10 pm, Gerard Vermeulen wrote:
> > On Thu, 9 Mar 2006 10:41:39 +0000
> >
> > Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
> > > To run them side by side you must install PyQt3, SIP and PyQt4 snapshots.
> > > Current PyQt3 and SIP snapshots are quite stable - PyQt 3.16 and SIP 4.4
> > > will be released in the next week or so.
> >
> > I just remind you of this patch:
> 
> It is the one outstanding thing on the PyQt3/SIP TODO list for the next 
> release. I haven't forgotten it.
> 
 
I have a related remark with respect to PyQt4's pyqt_config.py.
The _pkg_config dictionary for PyQt4 gets initialized as:
_pkg_config = {
    ..
    'pyqt_mod_dir':       '/home/packer/usr/lib/python2.4/site-packages',
    .. 
    'pyqt_sip_dir':       '/home/packer/usr/share/sip',
    ..
}

This is slightly inconvenient for add-on packages because the modules have
been installed in /home/packer/usr/lib/python2.4/site-packages/PyQt4 and
the sip files are in /home/packer/usr/share/sip/PyQt4 (PyQwt needs special
cases when built for PyQt3 or PyQt4).


>From feedback it seems that SIP-4.4 (contrary to SIP-4.3 and earlier) does not
parse files with \r\n (Windows) line separators.  Is this a bug or a feature?


Gerard




More information about the PyQt mailing list