[PyKDE] building PyKDE-3.5-2

2003-07-22 Thread Austin Reid
I have just tried building PyKDE-3.5-2 on Mandrake 9.1 (KDE 3.1.0) I have built, make'd and make install'd SIP and PyQT from the riverbank download page. No errors, however, when I come to build PyKDE I get using: python build.py -lqt-mt -c -q/usr/lib/qt3 Building PyKDE 3.5 for Python 2.2.2 on l

Re: [PyKDE] Deep copy

2003-07-22 Thread Vio
Yes, some kind of property list comprising everything that makes the target object "unique" or distinct from a freshly constructed one - let's call it the object's DNA - may be the way to go. So deepcopying an object then becomes a 2 stages process: 1. create a new object with 'default' attribu

Re: [PyKDE] Deep copy

2003-07-22 Thread Frederick Polgardy Jr
On Tuesday 22 July 2003 10:28 am, Vio wrote: > def cloneObj(obj): > cloneObj = obj.__class__() It's worse than that. This presumes you can default construct your object, which in many (most?) cases you probably can't. ___ PyKDE mailing list[EM

Re: [PyKDE] Deep copy

2003-07-22 Thread Vio
If I follow your thought, there is no shrink-wrapped solution for this. I think I'd be tempted to then follow the "__dict__" route, see where it leads, something like: def cloneObj(obj): cloneObj = obj.__class__() for name, val in obj.__dict__.iteritems(): if not str(type(val)) in (

RE: [PyKDE] Deploying PyQt Applications

2003-07-22 Thread Peter Kropf
Title: RE: [PyKDE] Deploying PyQt Applications We're using Gordon's Installer on Windows and Solaris today and it works like a charm. We're planning on also using it on AIX, HP-UX and Linux in the near future. - Peter -Original Message- From: Phil Thompson [mailto:[EMAIL PROTECTED]

[PyKDE] Feature request: Updating Subclass

2003-07-22 Thread Roland Schulz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, I think it woulb be great, if pyuic was able to update generated subclasses. This would make it possible to create a sublcass by running pyuic, implementing functions and later adding additional slots/function in the .ui file and getting those

[PyKDE] Compile error

2003-07-22 Thread Pablo Yabo
Hi, I'm trying to compile PyQt: I executed build.py and it finish successfully. I'm using PyQt 3.7 with SIP 3.7. Qt version is the commercial 3.12 for windows. Python version is 2.23 I cannot compile it using nmake. These and more errors ocurrs:   sipqtQIODevice.h(54) : error C2555: 'sipQIO

Re: [PyKDE] Deep copy

2003-07-22 Thread Frederick Polgardy Jr
On Monday 21 July 2003 08:18 pm, Vio wrote: > Hi, > I need to implement copy/cut/paste of whole Pyqt objects. This > apparently requires 'deep copies' of a target object: one initial > copy used as the 'clipboard' object (my cookie-cutter), then all > other copies created by 'deep-copying' the clip

Re: [PyKDE] Deploying PyQt Applications

2003-07-22 Thread Phil Thompson
On Tuesday 22 July 2003 3:14 am, Larry Wright wrote: > oops forgot to send to the list: > > Is there any reason you can't use py2Exe on Windows? I've used it several > times, and it seems to work well. I haven't tried, but I've heard that > Gordon McMillan's installer does the same thing as py2

Re: [PyKDE] Deep copy

2003-07-22 Thread Phil Thompson
On Tuesday 22 July 2003 2:18 am, Vio wrote: > Hi, > I need to implement copy/cut/paste of whole Pyqt objects. This > apparently requires 'deep copies' of a target object: one initial copy > used as the 'clipboard' object (my cookie-cutter), then all other copies > created by 'deep-copying' the clip

Re: [PyKDE] Deploying PyQt Applications

2003-07-22 Thread Larry Wright
oops forgot to send to the list: Is there any reason you can't use py2Exe on Windows? I've used it several times, and it seems to work well. I haven't tried, but I've heard that Gordon McMillan's installer does the same thing as py2exe on both Windows and linux. On Monday 21 July 2003 10:29