Try PySide then PyQt4 for Qt4 examples.
Use the correct connect method for PySide.

This should make the examples work with both PyQt4 and PySide (I can only test the later)