[Kde-bindings] Another patch for Qyoto

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Aug 24 10:21:41 UTC 2006


On Monday 21 August 2006 21:38, Arno Rehn wrote:
> Hi,
>
> I've just worked a little bit more on the bindings and fixed the bug that a
> Qyoto app would segfault when exited.
Ah good! That was really annoying - it creates a bad impression..

> The solution was quite simple: We only need to delete() the C++ qApp when
> quitting. Apparently this isn't done by mono. I think this would require us
> to create a wrapper instance around our C++ qApp and set this as the C#
> qApp. But I think my solution is by far simpler and at the moment OK. If
> someone feels like doing it with a wrapper instance, please do it. That is
> a for sure a cleaner way than mine.
So do we need to add a call in the C# code to invoke DeleteQApp() on exit? I 
don't see how it works.

> The patch attached combines the moc-args-patch (slot-patch) from my last
> mail and the one for this bug.
The zero moc args fix looks fine - I'll have a look at what the qtruby code 
does with zero moc args too.

-- Richard



More information about the Kde-bindings mailing list