[PyKDE] PyQt4.uic
Phil Thompson
phil at riverbankcomputing.co.uk
Sun Nov 19 22:38:38 GMT 2006
On Sunday 19 November 2006 4:27 pm, Jeremy Sanders wrote:
> Hi -
>
> On the packaged version of PyQt4 for kde-redhat (PyQt4-4.1-1.fc5), then
>
> the following line fails:
> >>> from PyQt4.uic import *
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'loadUiToType'
>
> It seems /usr/lib/python2.4/site-packages/PyQt4/uic/__init__.py contains
>
> __all__ = ("compileUi", "loadUiToType", "loadUi")
>
> loadUiToType appears not to be defined. Is this a packaging issue or a bug
> in the source package?
A bug - fixed in tonight's snapshot.
> On a related note, has anyone noticed that statusbars disappearing from
> PyQt applications on upgrading to Qt4.2? I had to explicitly create a
> QStatusBar object, although the docs suggest you should automatically get
> one on accessing statusBar().
>
> Some of my dialogs are also failing without error message on being loaded
> using loadUi... I'll have to investigate.
Phil
More information about the PyQt
mailing list