Hans Meine wrote: > Heh - I like Qt very much, and I wonder how someone responsible for kaa's > async stuff can find regular signal/slot mechanisms and event loops > confusing.. ;-)
I find the objects in qt confusing. You can over-do OO. I worked with a C++ lib from two co-workers before. It wasn't possible to just use a class from the ouside, I always had to inherit and one function. > One thing that does not yet work is stopping the program; I need to kill > python with -9. :-(( Hope that you can fix that. I had the same problem with twisted. I have no idea what happens when you C-c a QT app (my non-kaa qt test app wouldn't die either). But to prove my point look at your code and my requirements: I want a function to call from a thread to execute a callback in the mainloop. That isn't too hard and IMHO can happen very often. In twisted it took me five minutes to find callFromThread. Look again at your example code and compare it to: | class TwistedLoop(ThreadLoop): | """ | Thread based mainloop in Twisted. | """ | def __init__(self): | from twisted.internet import reactor | reactor.addSystemEventTrigger('after', 'shutdown', self.stop) | super(TwistedLoop, self).__init__(reactor.callFromThread, reactor.stop) >> And BTW, the qt integration will only be in the test directory and >> not directly in the src because qt conflicts with the kaa.base LGPL >> licence. > > Oh, does it? That would be very sad. :-( IIRC that is the reason why twisted also dropped QT support. kaa.base should be LGPL and that conflicts with QT. The QT mainloop can only live in the test dir. Dischi -- How can something be 'new and improved'? If it's new what was it improving on? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel