[PyQt] Bug in latest driver.py file
Hans Meine
meine at informatik.uni-hamburg.de
Mon Sep 20 14:42:53 BST 2010
Am Montag 20 September 2010, 15:23:45 schrieb Phil Thompson:
> On Mon, 20 Sep 2010 09:17:09 -0400, Phillip Cloud <cpcloud at gmail.com>
> > pyfile = open(self._opts.output, 'wt', encoding='utf8')
> >
> > else:
> > pyfile = open(self._opts.output, 'wt')
>
> Already fixed in current snapshots.
Great. I also have the problem that sipconfig.py knows too much about Qt,
i.e. I was getting the infamous
> AttributeError: "qt_framework" is not a valid configuration value or user
> option
error which gives a lot of Google hits, too. I always assumed that this was a
well-known problem, but I think it has survived at least one MacPorts update,
so I thought I'd mention it here just to be sure that it's fixed in the
development repository. (I patched it myself, checking whether `ld` contains
'Qt', i.e. refers to a Qt library. That seems to be better than most 'fixes'
floating around the WWW, but is probably far from being correct.)
Also, I was not sure whether it was a macports-specific issue, but I guess
it's better to report it here than not at all.. ;-)
Have a nice day,
Hans
More information about the PyQt
mailing list