[PyKDE] PyKDE with KDE 3.0.1?

Ricardo Javier Cardenes Medina rcardenes at debian.org
Sun Jun 2 22:40:01 BST 2002


On Sun, Jun 02, 2002 at 08:09:00PM +0100, John J. Lee wrote:
> 
> I tried building PyKDE 3.2.4 against KDE 3.0.1, and it refuses to build.
> I realise Jim hasn't updated it yet for this KDE version, but is this
> really necessary -- isn't it possible to just give a warning during
> configure, and go ahead and build anyway?  I presume 3.0.1 isn't
> monumentally different from 3.0.0, so that most / all of it should build,
> even if the wrapper is missing some new features?

Modify function 'checkOptions' to recognize KDE 3.0.1. Search for:

                elif (pair [0] == '--kde') or (pair [0] == '-k'):
                        kdeVersion = unversion ('KDE', pair [1])
                        if not kdeVersion in KDEVers:

and then change it to:

                elif (pair [0] == '--kde') or (pair [0] == '-k'):
			if kdeVersion == "301":
				kdeVersion == "300"
                        kdeVersion = unversion ('KDE', pair [1])
                        if not kdeVersion in KDEVers:

That worked for me and I haven't had problems since then. Of course, YMMV.




More information about the PyQt mailing list