Small fixes to the Demo to work with Qt 5.0. The demo will not work with Qt < 5.0.