[PyKDE] Porting from PyQt3 to PyQt4

Patrick Stinson patrickkidd.lists at gmail.com
Thu May 11 16:54:24 BST 2006


On 5/11/06, Andreas Pakulat <apaku at gmx.de> wrote:
> On 11.05.06 17:19:25, Frode Øijord wrote:
> > when porting from PyQt3 to PyQt4 will i have to rewrite all GUI code to the Qt4
> > way of doing things? More to the point, I have subclassed a QListView and a
> > QListViewItem and I am wondering if I have to reimplement those with a
> > model/view design?
>
> Well, if you don't want to do that, there's no real point in porting to
> Qt4/PyQt4 anyway.

oh come now...surely automatic double paint buffering,
QColor.setAlpha, painter paths, anit-aliasing, and most of all
(*sheeky grin*), a fabulously clean and easy build on all platforms
wwould be enough to bring someone over, not to metion the plethora of
changes I didn't mention?

>
> > Also, Qt4 have some compatibility classes in order to make porting easier, are
> > those available in PyQt4 aswell?
>
> No. PyQt4 is Qt4 only, no Qt3Support classes.
>
> Andreas
>
> --
> You are a very redundant person, that's what kind of person you are.
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>


-- 
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/




More information about the PyQt mailing list