Re: [PyKDE] Patch to get PyKDE building on AMD64

2004-10-06 Thread Jim Bublitz
On Wednesday 06 October 2004 20:37, Bryan O'Sullivan wrote: > PyKDE's configure.py script needs some tweaking to work properly on an > AMD64 machine. This patch adds a -L option, which specifies the name of > the library directory to use (on 32-bit machines it's lib, but on 64-bit > machines it sh

Re: [PyKDE] PyQt 3.13: crash on exit when using QCanvasSprite

2004-10-06 Thread Bryan O'Sullivan
On Wed, 2004-10-06 at 19:26 -0300, Roberto Alsina wrote: > I have a similar problem. As it turns out, another program that uses QCanvasSprites doesn't die like this. Again, it's sufficiently more complex than my simple test case that I can't tell what's significant about the differences.

Re: [PyKDE] PyQt 3.13: crash on exit when using QCanvasSprite

2004-10-06 Thread Roberto Alsina
I have a similar problem. And another one: Sprites just don't ever get deleted. I am guessing it's because of the reference counting: the QCanvas keeps a reference, so even if I delete the python object, it doesn't go away. I could produce a simple testcase if needed. > I have a crashing problem

[PyKDE] [PATCH] Get PyKDE 3.11.3 RPM building on AMD64

2004-10-06 Thread Bryan O'Sullivan
This patch is against the KDE-RedHat project's spec file for PyKDE 3.11.3. Lightly tested, seems quite happy. It depends on the configure.py patch I sent earlier, as otherwise PyKDE can't figure out how to build itself. --- PyKDE.spec.orig 2004-10-06 14:00:25.477491000 -0700 +++ PyKDE.sp

[PyKDE] PyQt 3.13: crash on exit when using QCanvasSprite

2004-10-06 Thread Bryan O'Sullivan
I have a crashing problem with PyQt when I draw a QCanvasSprite. More precisely, it appears to occur during shutdown after I use one. I've attached a small test program that demonstrates the problem. To reproduce, run "python view.py some-image-file.jpg", close the window it displays (which shou

[PyKDE] Re: Patch to get PyKDE building on AMD64

2004-10-06 Thread Bryan O'Sullivan
On Wed, 2004-10-06 at 14:05 -0700, Bryan O'Sullivan wrote: > This patch adds a -L option, which specifies the name of > the library directory to use (on 32-bit machines it's lib, but on 64-bit > machines it should be lib64). The patch is against PyKDE 3.11.3, by the way. http://mats.imk.

[PyKDE] Patch to get PyKDE building on AMD64

2004-10-06 Thread Bryan O'Sullivan
PyKDE's configure.py script needs some tweaking to work properly on an AMD64 machine. This patch adds a -L option, which specifies the name of the library directory to use (on 32-bit machines it's lib, but on 64-bit machines it should be lib64). I'm testing a patch against Rex's spec file to use

Re: [PyKDE] Trouble figuring out QCanvas and QCanvasView

2004-10-06 Thread Bryan O'Sullivan
On Wed, 2004-10-06 at 03:32 -0700, David Boddie wrote: > That's disappointing to hear. Think of it as an opportunity to write an article for one of the developerworks, onlamp and so on sites :-) > I think that the problem is with the ownership of the QCanvas, although > it's very strange if th

[PyKDE] big Text in pyqt

2004-10-06 Thread Axel Mittendorf
Hi, what is the most efficient way to display a big text in a pyqt app? It's just plain text, no colors, no html, only \n and \t. The text is not editable, at the moment we use an QTextEdit, set read only. If I start the app (the edit is empty on startup), and let it run for ~ 40 minutes, its size

Re: [PyKDE] Trouble figuring out QCanvas and QCanvasView

2004-10-06 Thread David Boddie
On Tue, 05 Oct 2004 23:28:39, Bryan O'Sullivan wrote: > I am unable to figure out how to draw into a QCanvas and have it show up > correctly in a QCanvasView. I've tried looking at both C++ and Python > examples, but the examples are invariably so complex that it's > impossible to figure out