On Wednesday 13 September 2006 7:52 pm, Simon Edwards wrote: > On Wednesday 13 September 2006 14:28, Phil Thompson wrote: > > > On Tuesday 12 September 2006 13:02, Phil Thompson wrote: > > >> One thing you need to check is that you can install kdebindings3 (ie. > > >> PyQt3 using SIP3) and kdebindings4 (ie. PyQt4 using SIP4) in the same > > >> Python installation. I assume this is a requirement - so that people > > >> can continue to use PyKDE3 applications not yet ported to PyKDE4 while > > >> running > > >> KDE4 as their desktop. This is not something I test - SIP3 has been > > >> unsupported for a long time. > > > > > > I just installed PyQt4 (really nice, by the way), and I expect I'll > > > install > > > modules in the same way - under site-packages/PyKDE4. > > > > Is that with PyKDE3 built on SIP3 or SIP4? The potential problem is > > having SIP3 and SIP4 installed at the same time for the same Python > > installation. > > Is it possible to install and use sip3 and sip4, plus two PyQts for sip3 > and sip4 into the *same* Python version?
That's what I'm suggesting you need to test. There will at least be a clash with sip.h. > If that were possible then maybe > it would offer a lot more flexibility for mixing different sip versions. A > developer (PyFoo again) that also used sip for wrapping some C++ could then > indicate in their Python code which version of sip and co to use: > > import sip4 > import qt import * # This import would have to import the > # version PyQt that is built with sip4. > import foobarwidget # A custom C++ widget which is also > # compiled with sip4. > # etc > > Then it would be possible to also install a version PyQt built on sip5 into > the same version of Python. Phil _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde