First trial to get the example working with PySide
Fix a warning
Fixed gcc command line