[PyKDE] PyQt4 + Qt4.0.1-debug or Qt4.1.0
apaku at gmx.de
Thu Dec 22 00:39:32 GMT 2005
On 22.12.05 01:28:11, David Boddie wrote:
> On Thu Dec 22 01:09:37, Andreas Pakulat wrote:
> > On 21.12.05 23:05:54, Phil Thompson wrote:
> > > On Wednesday 21 December 2005 10:51 pm, Andreas Pakulat wrote:
> > > > 2. Is PyQt4 currently already supposed to work with Qt4.1.0? I guess
> > > > not, because compiling with it gives an error about the QTextDecoder
> > > > Copy-Constructor being private.
> > >
> > > No - but just mark those ctors as private in the .sip files.
> > Ah, ok that was easy. Lets see how far I can get compiling the snapshot
> > with Qt4.1.0. I'll post a diff if I get through.
> In the meantime, here's a quick fix.
Thanks, that's how far I am now :-)
BTW: Is there a "simpler" way to regenerate the cpp/h files other than
running configure again and the recompiling everything?
> - struct ConverterState
> + class ConverterState
That's wrong I think, ConverterState is a struct, even in Qt4.1.0
> - explicit QTextEncoder(const QTextCodec *codec);
> QByteArray fromUnicode(const QString &str);
> + explicit QTextEncoder(const QTextCodec *codec);
I don't think the explicit is correct there, it's not in the Qt source.
Don't get to bragging.
More information about the PyQt