[PyKDE] Changed to uic API in PyQt4

Phil Thompson phil at riverbankcomputing.co.uk
Mon Apr 24 23:40:27 BST 2006

On Monday 24 April 2006 11:13 pm, Patrick Stinson wrote:
> On 4/24/06, Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
> > Tonight's PyQt4 snapshot contains changes to the uic module. If you
> > import any of the uic functions then you will need to change your code.
> >
> > If you are just using pyuic4 then you shouldn't be affected.
> >
> > PyQt 4.0 beta will be released in the next couple of days.
> great! What plans do you have any plans for naming the modules? Are
> the Qt* packages moving out of (the redundant) PyQt4? perhaps you can
> refer me to a previous post...
> uggh:
> from PyQt4.QtCore import QObject,PYSIGNAL
> yay (order of preference):
> from qt import QObject, SIGNAL
> from qtcore import QObject, SIGNAL
> from QtCore import QObject, SIGNAL
> Isn't there a PEP about new import syntax in 2.5?

The module structure isn't going to change. It has to allow PyQt3, PyQt4 and 
PyQt5 to be installed at the same time. It also has to reflect the separate 
Qt4 libraries.


More information about the PyQt mailing list