On Tue, 7 Sep 2010 12:33:07 -0400, Tyler Wilson <[email protected]> wrote: > 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?
It will be fixed in tonight's snapshot. In the meantime edit the call to compileUi() and add False as a 3rd argument. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
