I am using the loadUiType function like so:

        ui_class, widget_class = uic.loadUiType("mygui.ui")
        self.ui = ui_class()
        self.ui.setupUi(self)

I just installed the latest PyQt on OSX and tried running it, but got
this error:


  File "/Library/Python/2.6/site-packages/PyQt4/uic/__init__.py", line
158, in loadUiType
    winfo = compiler.UICompiler().compileUi(uifile, code_string)

It appears that the underlying Compiler.compileUI had a new parameter
added in 4.7.5, but that the uic.loadUiType was not updated to
properly add this param.

Solutions?

Thank you,
Tyler
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to