[PyKDE] A bug confirmed

David Boddie david at boddie.org.uk
Fri Sep 29 12:50:26 BST 2006


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




More information about the PyQt mailing list