[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] PyQt4.uic
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2006-11-19 22:38:38
Message-ID: 200611192238.38624.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

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

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic