[PyQt] Re: Problem with latest PyQt4 snapshot
Detlev Offenbach
detlev at die-offenbachs.de
Tue Sep 22 17:42:47 BST 2009
On Dienstag, 22. September 2009, Phil Thompson wrote:
> On Sat, 19 Sep 2009 19:47:00 +0200, Detlev Offenbach
>
> <detlev at die-offenbachs.de> wrote:
> > Hi Phil,
> >
> > pyuic4 of the latest snapshot is a bit buggy. It does wrap the value set
> > via
> > QObject.setProperty(...) into a QVariant. That makes code generated with
> > this
> > pyuic incompatible with older PyQt4 versions.
>
> pyuic doesn't guarantee that it will generate code that will work with an
> earlier version of PyQt that it is a part of. Otherwise it would be
> difficult to introduce new features.
>
> If you don't have control over the version of PyQt your users are using
> then you should run pyuic as part of your installation process (or
> dynamically load the .ui files).
>
> Phil
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
That is too bad and pyuic didn't do that in the past. It probably means, that
I won't do eric4 development using PyQt 4.6 until the day I'll switch to
Python 3.
Regards,
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the PyQt
mailing list