Update qt-example.py