Per the python mailing list discussion, add support for the 2nd argument to uic.loadUi
Here is an example using PyQt4
http://nullege.com/codes/search/PyQt4.uic.loadUi
Here is an example of an implementation for PySide that accepts the same arguments
https://gist.github.com/cpbotha/1b42a20c8f3eb9bb7cb8