I am newly using PyQt4 on Ubuntu. My problem is that pyuic4 generates code that subclasses object rather than the appropriate widget class, which in this case should be QDialog.
I can import PyQt4.Qt in the python interpreter without error, and I can run the .ui python script in code that dynamically loads it using uic.loadUiType("filename.ui").
I suspect I did something wrong when installing Qt, sip, and PyQt4, but I've gone over the various instructions and can't see where I might have gone wrong. Lots of googling hasn't turned up anyone with a similar problem, so I'm asking for help.
Has anyone seen this before, or know what's going on? I welcome suggestions as to how fix this.