[PyKDE] ANNOUNCE: PyQt/PyKDE v0.10pre5

Boudewijn Rempt boud at rempt.xs4all.nl
Fri Dec 3 22:46:12 GMT 1999


On Thu, 2 Dec 1999, Phil Thompson wrote:

> PyQt/PyKDE v0.10pre5 is in the usual place at
> http://www.river-bank.demon.co.uk/software/private/. I've fixed all the
> bugs I know about and, unless you find anything new, this will be
> released later as v0.10 - so this is your last chance.

I'm busy with it - I may have found a bug, but I can't put the finger to
it. It started with the problem that the string that came out of KConfig
were, of course, QStrings (but only the empty one? - I had four, three
filled, one empty). When I had put repr's around them, like:

 self.user=repr(self.config.readEntry("user", "boud"))
 self.db=repr(self.config.readEntry("db","lng"))
 self.password=repr(self.config.readEntry("password", ""))
 self.host=repr(self.config.readEntry("host","calcifer"))

I got past the log-in problem to MySQLdb, but now I don't get
any gui. Simple examples still work fine, but I am having a bit of
trouble with Kura, which is a bit larger and more complex. The app gets
started, I get an entry in the taskbar, but I don't get any interface
showing... Still, I'm sure I can find out exactly where it goes wrong -
it's probably my own fault. I'll be working on it this weekend, but 
because it's Sinterklaas I don't have a lot of time (got to prepare
the presents for the kids!)

> 
> While this change isn't strictly necessary at this stage, it will be
> needed for Qt v2's Unicode support - so it's best to get used to it now.
> 

It's painful all the same - I guess we have to use
self.text=repr(myTextBox.text()), too! Lots of trouble to go wrong and
make silly mistakes. Still, Unicode support should be worth it ;-).

Boudewijn Rempt  | http://denden.conlang.org





More information about the PyQt mailing list