[PyKDE] A bug confirmed

Dave S eric3 at pusspaws.net
Fri Sep 29 13:14:32 BST 2006


On Friday 29 September 2006 12:50, David Boddie wrote:
> On Fri Sep 29 13:22:40 MEST 2006, Dave S wrote:
> > Start QT4 designer - create a new form type 'main window'
> >
> > put a push button on it :)
> >
> > save it
> >
> > pyuic it ...
> >
> > Try to call it with ...
>
> [Code snipped]
>
> > and you get a 'setCentralWidget' error.
> >
> > QT v4.1.4; PyQt v4.0.1; and Python v2.4.3
>
> This is related to your other message. You need to run pyuic4 instead of
> pyuic. If pyuic4 didn't get installed then that's a bug with the build
> system. pyuic is for PyQt applications that use Qt 3.
>
> David

Ahh that makes sense. I assumed pyuic was pyuic4 because it was in directory 
used /python24/lib/site-packages/PyQt4/uic/pyuic.py ... ie PyQt4s dir

Since pyuic4 does not appear to be in the windows package, where can I 
download it from ?

Dave



>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde




More information about the PyQt mailing list