[PyKDE] Patch for pyuic layout problems
Boudewijn Rempt
bsarempt at rempt.xs4all.nl
Tue Aug 22 16:49:42 BST 2000
On Mon, 21 Aug 2000, Dan Haffey wrote:
>
> I happened to notice (by way of nested layout problems) that Phil's pyuic
> compiler doesn't prepend self. on the layout widget initializations, which
> causes them to die prematurely. Here's a small patch to uic.cpp that
> fixes it. It crashes on exit now when using nested layouts, but I have yet to
> figure out why. Maybe someone can figure that one out.
>
I've patched my version of uic.cpp with your patch, and the resulting file
is now at http://www.valdyas.org/~boud/uic.cpp. It compiled fine, and
converted the example to valid python. Not that the valid python
actually runs, but there's progress!
More information about the PyQt
mailing list